summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-09-23 16:21:15 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-09-26 17:35:26 -0400
commit6136d2b409652b064b2da6d43d5c47cbd1d2cc14 (patch)
tree08d43b181dfe90cc577550fd90b90af0add1bb5f /fs/nfsd/state.h
parent2a74aba799bfbc02977b69400b7bf4d2850aea79 (diff)
downloadlinux-6136d2b409652b064b2da6d43d5c47cbd1d2cc14.tar.bz2
nfsd4: use idr for stateid's
The idr system is designed exactly for generating id and looking up integer id's. Thanks to Trond for pointing it out. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 70062b75e24a..3ed5f99141ec 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -79,7 +79,6 @@ struct nfs4_stid {
/* For an open stateid kept around *only* to process close replays: */
#define NFS4_CLOSED_STID 8
unsigned char sc_type;
- struct list_head sc_hash;
stateid_t sc_stateid;
struct nfs4_client *sc_client;
};