diff options
author | 2022-02-16 12:31:09 -0500 | |
---|---|---|
committer | 2022-02-28 10:26:40 -0500 | |
commit | f49169c97fceb21ad6a0aaf671c50b0f520f15a5 (patch) | |
tree | abab469433578ffa4da9aedf787258f504eb62ad /include/linux/sunrpc | |
parent | SUNRPC: Remove svc_shutdown_net() (diff) | |
download | linux-f49169c97fceb21ad6a0aaf671c50b0f520f15a5.tar.gz linux-f49169c97fceb21ad6a0aaf671c50b0f520f15a5.tar.bz2 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 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 5603158b2aa7..dfc9283f412f 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -57,11 +57,6 @@ struct svc_serv; struct svc_serv_ops { /* function for service threads to run */ int (*svo_function)(void *); - - /* optional module to count when adding threads. - * Thread function must call module_put_and_kthread_exit() to exit. - */ - struct module *svo_module; }; /* |