aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 55a4d6a108a2..13f6f9f5ceec 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -35,6 +35,7 @@
35#ifndef _NFSD4_STATE_H 35#ifndef _NFSD4_STATE_H
36#define _NFSD4_STATE_H 36#define _NFSD4_STATE_H
37 37
38#include <linux/idr.h>
38#include <linux/sunrpc/svc_xprt.h> 39#include <linux/sunrpc/svc_xprt.h>
39#include <linux/nfsd/nfsfh.h> 40#include <linux/nfsd/nfsfh.h>
40#include "nfsfh.h" 41#include "nfsfh.h"
@@ -231,6 +232,7 @@ struct nfs4_client {
231 struct list_head cl_idhash; /* hash by cl_clientid.id */ 232 struct list_head cl_idhash; /* hash by cl_clientid.id */
232 struct list_head cl_strhash; /* hash by cl_name */ 233 struct list_head cl_strhash; /* hash by cl_name */
233 struct list_head cl_openowners; 234 struct list_head cl_openowners;
235 struct idr cl_stateids; /* stateid lookup */
234 struct list_head cl_delegations; 236 struct list_head cl_delegations;
235 struct list_head cl_lru; /* tail queue */ 237 struct list_head cl_lru; /* tail queue */
236 struct xdr_netobj cl_name; /* id generated by client */ 238 struct xdr_netobj cl_name; /* id generated by client */
@@ -508,7 +510,7 @@ extern void nfsd4_recdir_purge_old(void);
508extern int nfsd4_create_clid_dir(struct nfs4_client *clp); 510extern int nfsd4_create_clid_dir(struct nfs4_client *clp);
509extern void nfsd4_remove_clid_dir(struct nfs4_client *clp); 511extern void nfsd4_remove_clid_dir(struct nfs4_client *clp);
510extern void release_session_client(struct nfsd4_session *); 512extern void release_session_client(struct nfsd4_session *);
511extern __be32 nfs4_validate_stateid(stateid_t *); 513extern __be32 nfs4_validate_stateid(struct nfs4_client *, stateid_t *);
512extern void nfsd4_purge_closed_stateid(struct nfs4_stateowner *); 514extern void nfsd4_purge_closed_stateid(struct nfs4_stateowner *);
513 515
514#endif /* NFSD4_STATE_H */ 516#endif /* NFSD4_STATE_H */