diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-09-23 22:21:15 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-09-26 23:35:26 +0200 |
commit | 6136d2b409652b064b2da6d43d5c47cbd1d2cc14 (patch) | |
tree | 08d43b181dfe90cc577550fd90b90af0add1bb5f /fs/nfsd/state.h | |
parent | nfsd4: move client * to nfs4_stateid, add init_stid helper (diff) | |
download | linux-6136d2b409652b064b2da6d43d5c47cbd1d2cc14.tar.xz linux-6136d2b409652b064b2da6d43d5c47cbd1d2cc14.zip |
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 '')
-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 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; }; |