]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Remove svc_serv_ops::svo_module
authorChuck Lever <chuck.lever@oracle.com>
Wed, 16 Feb 2022 17:31:09 +0000 (12:31 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 28 Feb 2022 15:26:40 +0000 (10:26 -0500)
commitf0f8648589e65fba035160b8d41c78ca71be6d4d
treeabab469433578ffa4da9aedf787258f504eb62ad
parent57c6db8f3bfeaa6095f0b85b041e9aa15975fc46
NFSD: Remove svc_serv_ops::svo_module

struct svc_serv_ops is about to be removed.

Neil Brown says:
> I suspect svo_module can go as well - I don't think the thread is
> ever the thing that primarily keeps a module active.

A random sample of kthread_create() callers shows sunrpc is the only
one that manages module reference count in this way.

Suggested-by: Neil Brown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/lockd/svc.c
fs/nfs/callback.c
fs/nfs/nfs4state.c
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
kernel/module.c
net/sunrpc/svc.c