Commit 4f48af45 authored by Trond Myklebust's avatar Trond Myklebust

NFS: Simplify filehandle revalidation

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 9697d234
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment