NFSD: narrow nfsd_mutex protection in nfsd thread
authorNeilBrown <neilb@suse.de>
Mon, 29 Nov 2021 04:51:25 +0000 (15:51 +1100)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 13 Dec 2021 18:42:52 +0000 (13:42 -0500)
commit9d3792aefdcda71d20c2b1ecc589c17ae71eb523
tree64a32d97fbd7366fc5507904f23fa230c6b17dd5
parent2a36395fac3b72771f87c3ee4387e3a96d85a7cc
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>
fs/nfsd/nfssvc.c