From 4f48af45842c6e78ab958c90344d3c940db4da15 Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Tue, 2 Oct 2007 23:13:32 -0400 Subject: NFS: Simplify filehandle revalidation Signed-off-by: Trond Myklebust --- fs/nfs/dir.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs') 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) (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) goto out_force; + return 0; } return nfs_revalidate_inode(server, inode); out_force: -- cgit v1.2.2