diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2024-04-23 15:25:40 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-05-06 09:07:21 -0400 |
commit | 924f4fb003ba114c60b3c07a011dcd86a8956cd1 (patch) | |
tree | edef7982c7924aa789fbaf8c8be1e082042b4d27 /fs/nfsd/netlink.h | |
parent | 9077d59847896745712dff00839eac14f84b21f8 (diff) |
NFSD: convert write_threads to netlink command
Introduce write_threads netlink command similar to the one available
through the procfs.
Tested-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Co-developed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/netlink.h')
-rw-r--r-- | fs/nfsd/netlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/netlink.h b/fs/nfsd/netlink.h index d83dd6bdee92..4137fac477e4 100644 --- a/fs/nfsd/netlink.h +++ b/fs/nfsd/netlink.h @@ -16,6 +16,8 @@ int nfsd_nl_rpc_status_get_done(struct netlink_callback *cb); int nfsd_nl_rpc_status_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb); +int nfsd_nl_threads_set_doit(struct sk_buff *skb, struct genl_info *info); +int nfsd_nl_threads_get_doit(struct sk_buff *skb, struct genl_info *info); extern struct genl_family nfsd_nl_family; |