summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsd.h
diff options
context:
space:
mode:
authorJ. Bruce Fields2019-04-09 21:56:57 +0200
committerJ. Bruce Fields2019-07-03 23:52:50 +0200
commit97ad4031e29521894fc28765f14247e79b0ef263 (patch)
treedaec545c5697807abc3b7182f15b2c8086fd71a2 /fs/nfsd/nfsd.h
parentnfsd: make client/ directory names small ints (diff)
downloadkernel-qcow2-linux-97ad4031e29521894fc28765f14247e79b0ef263.tar.gz
kernel-qcow2-linux-97ad4031e29521894fc28765f14247e79b0ef263.tar.xz
kernel-qcow2-linux-97ad4031e29521894fc28765f14247e79b0ef263.zip
nfsd4: add a client info file
Add a new nfsd/clients/#/info file with some basic information about each NFSv4 client. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r--fs/nfsd/nfsd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h
index 85525dcbf77d..af2947551e9c 100644
--- a/fs/nfsd/nfsd.h
+++ b/fs/nfsd/nfsd.h
@@ -92,7 +92,9 @@ struct nfsdfs_client {
void (*cl_release)(struct kref *kref);
};
-struct dentry *nfsd_client_mkdir(struct nfsd_net *nn, struct nfsdfs_client *ncl, u32 id);
+struct nfsdfs_client *get_nfsdfs_client(struct inode *);
+struct dentry *nfsd_client_mkdir(struct nfsd_net *nn,
+ struct nfsdfs_client *ncl, u32 id, const struct tree_descr *);
void nfsd_client_rmdir(struct dentry *dentry);
#if defined(CONFIG_NFSD_V2_ACL) || defined(CONFIG_NFSD_V3_ACL)