diff options
author | NeilBrown <neilb@suse.de> | 2021-11-29 15:51:25 +1100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-12-13 13:42:52 -0500 |
commit | 9d3792aefdcda71d20c2b1ecc589c17ae71eb523 (patch) | |
tree | 64a32d97fbd7366fc5507904f23fa230c6b17dd5 /fs/nfs/callback.c | |
parent | SUNRPC: use sv_lock to protect updates to sv_nrthreads. (diff) | |
download | linux-dev-9d3792aefdcda71d20c2b1ecc589c17ae71eb523.tar.xz linux-dev-9d3792aefdcda71d20c2b1ecc589c17ae71eb523.zip |
NFSD: narrow nfsd_mutex protection in nfsd thread
There is nothing happening in the start of nfsd() that requires
protection by the mutex, so don't take it until shutting down the thread
- which does still require protection - but only for nfsd_put().
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs/callback.c')
0 files changed, 0 insertions, 0 deletions