提交 4f48af45 编写于 作者: T Trond Myklebust

NFS: Simplify filehandle revalidation

Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册