diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-23 22:03:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 00:06:29 -0700 |
commit | 8beefa249371f55432394ac96864c83b0b309c28 (patch) | |
tree | 1d31a36da779a930a6676bdfc7d8fe4fa564a05c /include | |
parent | 6fa305ded4cc859deb4727ad9b25df0bbc064e99 (diff) | |
download | kernel_samsung_tuna-8beefa249371f55432394ac96864c83b0b309c28.zip kernel_samsung_tuna-8beefa249371f55432394ac96864c83b0b309c28.tar.gz kernel_samsung_tuna-8beefa249371f55432394ac96864c83b0b309c28.tar.bz2 |
[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')
-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 b6b2fe1..2c3b426 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h @@ -218,8 +218,8 @@ struct nfs4_stateowner { */ struct nfs4_file { struct list_head fi_hash; /* hash by "struct inode *" */ - struct list_head fi_perfile; /* list: nfs4_stateid */ - struct list_head fi_del_perfile; /* list: nfs4_delegation */ + struct list_head fi_stateids; + struct list_head fi_delegations; struct inode *fi_inode; u32 fi_id; /* used with stateowner->so_id * for stateid_hashtbl hash */ |