From f7fd9bb95b8faaf7d9eedbdfa4744fd7c8f4b9e2 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 9 Mar 2005 16:53:51 -0800 Subject: [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 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/nfsd/state.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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; }; -- cgit v1.2.3