diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-24 01:03:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:29 -0400 |
commit | 8beefa249371f55432394ac96864c83b0b309c28 (patch) | |
tree | 1d31a36da779a930a6676bdfc7d8fe4fa564a05c /include/linux/nfsd/state.h | |
parent | 6fa305ded4cc859deb4727ad9b25df0bbc064e99 (diff) |
[PATCH] nfsd4: rename nfs4_file fields
Trivial renaming patch:
I can never remember, while looking at various lists relating the nfsd4 state
structures, which are the "heads" and which are items on other lists, or which
structures are actually on the various lists. The following convention helps
me: given structures foo and bar, with foo containing the head of a list of
bars, use "bars" for the name of the head of the list contained in the struct
foo, and use "per_foo" for the entries in the struct bars.
Go ahead and do this for struct nfs4_file.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/nfsd/state.h')
-rw-r--r-- | include/linux/nfsd/state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index b6b2fe1e7c63..2c3b42674a4c 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h | |||
@@ -218,8 +218,8 @@ struct nfs4_stateowner { | |||
218 | */ | 218 | */ |
219 | struct nfs4_file { | 219 | struct nfs4_file { |
220 | struct list_head fi_hash; /* hash by "struct inode *" */ | 220 | struct list_head fi_hash; /* hash by "struct inode *" */ |
221 | struct list_head fi_perfile; /* list: nfs4_stateid */ | 221 | struct list_head fi_stateids; |
222 | struct list_head fi_del_perfile; /* list: nfs4_delegation */ | 222 | struct list_head fi_delegations; |
223 | struct inode *fi_inode; | 223 | struct inode *fi_inode; |
224 | u32 fi_id; /* used with stateowner->so_id | 224 | u32 fi_id; /* used with stateowner->so_id |
225 | * for stateid_hashtbl hash */ | 225 | * for stateid_hashtbl hash */ |