From: Trond Myklebust Date: Wed, 3 Oct 2007 03:13:32 +0000 (-0400) Subject: NFS: Simplify filehandle revalidation X-Git-Tag: v2.6.24-rc1~1285^2~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f48af45842c6e78ab958c90344d3c940db4da15;p=linux-2.6 NFS: Simplify filehandle revalidation Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index d352509d7e..bdf4ba42ab 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: