diff options
author | J. Bruce Fields <bfields@redhat.com> | 2019-03-22 16:11:06 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-07-03 23:52:49 +0200 |
commit | e8a79fb14f6b76b502218fce10696f4df9ff19b1 (patch) | |
tree | 8206e240dba02943e8e47a0118994b67b4ab30ea /fs/nfsd/state.h | |
parent | nfsd4: use reference count to free client (diff) | |
download | linux-e8a79fb14f6b76b502218fce10696f4df9ff19b1.tar.xz linux-e8a79fb14f6b76b502218fce10696f4df9ff19b1.zip |
nfsd: add nfsd/clients directory
I plan to expose some information about nfsv4 clients here.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 8eacdbc50cd7..81852cbf6b0a 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -39,6 +39,7 @@ #include <linux/refcount.h> #include <linux/sunrpc/svc_xprt.h> #include "nfsfh.h" +#include "nfsd.h" typedef struct { u32 cl_boot; @@ -348,9 +349,12 @@ struct nfs4_client { u32 cl_exchange_flags; /* number of rpc's in progress over an associated session: */ atomic_t cl_rpc_users; - struct kref cl_ref; + struct nfsdfs_client cl_nfsdfs; struct nfs4_op_map cl_spo_must_allow; + /* debugging info directory under nfsd/clients/ : */ + struct dentry *cl_nfsd_dentry; + /* for nfs41 callbacks */ /* We currently support a single back channel with a single slot */ unsigned long cl_cb_slot_busy; |