diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-04-02 13:01:59 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-04-03 19:11:04 (GMT) |
commit | 89876f8c0dbcc2947b13b9e22cf28c5308cee3c1 (patch) | |
tree | c80bd0eeac5972e64b852624baaedb6a1db4af64 /fs/nfsd/state.h | |
parent | 66b2b9b2b0e8a9034806293a436628400a44a71d (diff) | |
download | linux-fsl-qoriq-89876f8c0dbcc2947b13b9e22cf28c5308cee3c1.tar.xz |
nfsd: convert the file_hashtbl to a hlist
We only ever traverse the hash chains in the forward direction, so a
double pointer list head isn't really necessary.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index f6ae4db..7674bc8 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -380,7 +380,7 @@ static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) /* nfs4_file: a file opened by some number of (open) nfs4_stateowners. */ struct nfs4_file { atomic_t fi_ref; - struct list_head fi_hash; /* hash by "struct inode *" */ + struct hlist_node fi_hash; /* hash by "struct inode *" */ struct list_head fi_stateids; struct list_head fi_delegations; /* One each for O_RDONLY, O_WRONLY, O_RDWR: */ |