summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-02-16 18:31:09 +0100
committerChuck Lever <chuck.lever@oracle.com>2022-02-28 16:26:40 +0100
commitf49169c97fceb21ad6a0aaf671c50b0f520f15a5 (patch)
treeabab469433578ffa4da9aedf787258f504eb62ad /kernel
parentSUNRPC: Remove svc_shutdown_net() (diff)
downloadlinux-f49169c97fceb21ad6a0aaf671c50b0f520f15a5.tar.xz
linux-f49169c97fceb21ad6a0aaf671c50b0f520f15a5.zip
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c
index 46a5c2ed1928..6cea788fd965 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -335,7 +335,7 @@ static inline void add_taint_module(struct module *mod, unsigned flag,
/*
* A thread that wants to hold a reference to a module only while it
- * is running can call this to safely exit. nfsd and lockd use this.
+ * is running can call this to safely exit.
*/
void __noreturn __module_put_and_kthread_exit(struct module *mod, long code)
{