diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2005-03-09 16:53:51 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-09 16:53:51 -0800 |
| commit | f7fd9bb95b8faaf7d9eedbdfa4744fd7c8f4b9e2 (patch) | |
| tree | 17b2f831c35a0091e2eb1635d8fff56a26435331 /include/linux/nfsd | |
| parent | 9b370f788c87d1f8d1c74d39b3cee53c5056ef17 (diff) | |
[PATCH] nfsd4: remove st_vfs_set
Note st_vfs_set is redundant; we can always just check whether st_vfs_file is
set.
Fix one inconsistency along the way: we were setting st_vfs_file to 0 in one
case without fput()'ing st_vfs_file. It doesn't appear there was a need to do
either one in that case.
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')
| -rw-r--r-- | include/linux/nfsd/state.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index 5f4434d6c96d..fdfd440b65af 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h @@ -254,7 +254,6 @@ struct nfs4_stateid { struct nfs4_file * st_file; stateid_t st_stateid; struct file * st_vfs_file; - int st_vfs_set; unsigned long st_access_bmap; unsigned long st_deny_bmap; }; |
