diff options
author | 2022-06-23 14:47:34 +1000 | |
---|---|---|
committer | 2022-06-30 16:13:00 -0400 | |
commit | 080abad71e99d2becf38c978572982130b927a28 (patch) | |
tree | 86377e4f860b83540958db476304d7e4c44037f0 /scripts/generate_rust_analyzer.py | |
parent | Linux 5.19-rc4 (diff) | |
download | wireguard-linux-080abad71e99d2becf38c978572982130b927a28.tar.xz wireguard-linux-080abad71e99d2becf38c978572982130b927a28.zip |
NFS: restore module put when manager exits.
Commit f49169c97fce ("NFSD: Remove svc_serv_ops::svo_module") removed
calls to module_put_and_kthread_exit() from threads that acted as SUNRPC
servers and had a related svc_serv_ops structure. This was correct.
It ALSO removed the module_put_and_kthread_exit() call from
nfs4_run_state_manager() which is NOT a SUNRPC service.
Consequently every time the NFSv4 state manager runs the module count
increments and won't be decremented. So the nfsv4 module cannot be
unloaded.
So restore the module_put_and_kthread_exit() call.
Fixes: f49169c97fce ("NFSD: Remove svc_serv_ops::svo_module")
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions