aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorSuresh Jayaraman <sjayaraman@suse.de>2009-03-11 14:10:22 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-03-11 14:10:22 -0400
commit2b57dc6cf9bf31edc0df430ea18dd1dbd3028975 (patch)
tree3d70e9e220fd665fa08b2d0566eb35bf593cfcd7 /fs/nfs
parentfe315e76fc3a3f9f7e1581dc22fec7e7719f0896 (diff)
NFS: Minor __nfs_revalidate_inode cleanup
Remove redundant NFS_STALE() check, a leftover due to the commit 691beb13cdc88358334ef0ba867c080a247a760f Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/inode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 0c381686171e..acaaa7c7efa4 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -670,9 +670,6 @@ __nfs_revalidate_inode(struct nfs_server *server, struct inode *inode)
670 if (NFS_STALE(inode)) 670 if (NFS_STALE(inode))
671 goto out; 671 goto out;
672 672
673 if (NFS_STALE(inode))
674 goto out;
675
676 nfs_inc_stats(inode, NFSIOS_INODEREVALIDATE); 673 nfs_inc_stats(inode, NFSIOS_INODEREVALIDATE);
677 status = NFS_PROTO(inode)->getattr(server, NFS_FH(inode), &fattr); 674 status = NFS_PROTO(inode)->getattr(server, NFS_FH(inode), &fattr);
678 if (status != 0) { 675 if (status != 0) {