diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-09-11 15:49:44 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 19:44:09 +0300 |
commit | 13727f85b49babcc40db805118e665605cd040dc (patch) | |
tree | 1730ec0668ea66ee69159fd8b8a44144d01be4c9 /fs/nfsd/nfsctl.c | |
parent | 6c41d9a9bd0298002805758216a9c44e38a8500d (diff) | |
download | linux-13727f85b49babcc40db805118e665605cd040dc.tar.xz |
NFSD: introduce netlink stubs
Generate stubs and uAPI for nfsd netlink protocol. For the moment,
the new protocol has one operation: rpc_status.
The generated header and source files are created by running:
tools/net/ynl/ynl-regen.sh
Tested-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r-- | fs/nfsd/nfsctl.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 7ed02fb88a36..364ccd0be1c1 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -26,6 +26,7 @@ #include "pnfs.h" #include "filecache.h" #include "trace.h" +#include "netlink.h" /* * We have a single directory with several nodes in it. @@ -1495,6 +1496,22 @@ static int create_proc_exports_entry(void) unsigned int nfsd_net_id; +int nfsd_nl_rpc_status_get_start(struct netlink_callback *cb) +{ + return 0; +} + +int nfsd_nl_rpc_status_get_dumpit(struct sk_buff *skb, + struct netlink_callback *cb) +{ + return 0; +} + +int nfsd_nl_rpc_status_get_done(struct netlink_callback *cb) +{ + return 0; +} + /** * nfsd_net_init - Prepare the nfsd_net portion of a new net namespace * @net: a freshly-created network namespace |