diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-09-23 16:21:15 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-09-26 17:35:26 -0400 |
commit | 6136d2b409652b064b2da6d43d5c47cbd1d2cc14 (patch) | |
tree | 08d43b181dfe90cc577550fd90b90af0add1bb5f /fs/nfsd/state.h | |
parent | 2a74aba799bfbc02977b69400b7bf4d2850aea79 (diff) | |
download | op-kernel-dev-6136d2b409652b064b2da6d43d5c47cbd1d2cc14.zip op-kernel-dev-6136d2b409652b064b2da6d43d5c47cbd1d2cc14.tar.gz |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 70062b7..3ed5f99 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; }; |