aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-02 23:13:32 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:20:20 -0400
commit4f48af45842c6e78ab958c90344d3c940db4da15 (patch)
tree40f41baaf1931b47618034c21377a35b8ad926fe /fs
parent9697d2342e1a480bc14921c52f185c2fe01016e7 (diff)
NFS: Simplify filehandle revalidation
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index d352509d7e2..bdf4ba42abd 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -704,6 +704,7 @@ int nfs_lookup_verify_inode(struct inode *inode, struct nameidata *nd)
704 (S_ISREG(inode->i_mode) || 704 (S_ISREG(inode->i_mode) ||
705 S_ISDIR(inode->i_mode))) 705 S_ISDIR(inode->i_mode)))
706 goto out_force; 706 goto out_force;
707 return 0;
707 } 708 }
708 return nfs_revalidate_inode(server, inode); 709 return nfs_revalidate_inode(server, inode);
709out_force: 710out_force: