]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit249730718a3180e00d995d8ea5397197e8c9b191
tree64a32d97fbd7366fc5507904f23fa230c6b17dd5
parent9a18140cebb34ca4d2e76a3797d29d598889c0cf
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