Commit c3935e30 authored by J. Bruce Fields's avatar J. Bruce Fields

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: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent e4e83ea4
...@@ -4122,8 +4122,8 @@ nfs4_state_shutdown(void) ...@@ -4122,8 +4122,8 @@ nfs4_state_shutdown(void)
nfs4_lock_state(); nfs4_lock_state();
nfs4_release_reclaim(); nfs4_release_reclaim();
__nfs4_state_shutdown(); __nfs4_state_shutdown();
nfsd4_destroy_callback_queue();
nfs4_unlock_state(); nfs4_unlock_state();
nfsd4_destroy_callback_queue();
} }
/* /*
......
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