diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-06-04 20:42:08 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-06-08 23:33:52 (GMT) |
commit | c3935e30495869dd611e1cd62253c94ebc7c6c04 (patch) | |
tree | bdb8e1def460e785e13651b0827a11558eabe305 | |
parent | e4e83ea47babd9d4bf95a13aed87f8ef51e46472 (diff) | |
download | linux-fsl-qoriq-c3935e30495869dd611e1cd62253c94ebc7c6c04.tar.xz |
nfsd4: shut down callback queue outside state lock
This reportedly causes a lockdep warning on nfsd shutdown. That looks
like a false positive to me, but there's no reason why this needs the
state lock anyway.
Reported-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 12f7109..4a27347 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -4122,8 +4122,8 @@ nfs4_state_shutdown(void) nfs4_lock_state(); nfs4_release_reclaim(); __nfs4_state_shutdown(); - nfsd4_destroy_callback_queue(); nfs4_unlock_state(); + nfsd4_destroy_callback_queue(); } /* |