Commit 79f6523a authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Linus Torvalds

[PATCH] knfsd: nfsd4: remove superfluous cancel_delayed_work() call

This cancel_delayed_work call is called from a function that is only called
from a piece of code that immediate follows a cancel and destruction of the
workqueue, so it's clearly a mistake.

Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: default avatar"J. Bruce Fields" <bfields@citi.umich.edu>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 21315edd
...@@ -3260,7 +3260,6 @@ __nfs4_state_shutdown(void) ...@@ -3260,7 +3260,6 @@ __nfs4_state_shutdown(void)
unhash_delegation(dp); unhash_delegation(dp);
} }
cancel_delayed_work(&laundromat_work);
nfsd4_shutdown_recdir(); nfsd4_shutdown_recdir();
nfs4_init = 0; nfs4_init = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment