zfs_fhtovp: there is no reason to amend lock flags with LK_RETRY here

MFC after:	12 days
This commit is contained in:
Andriy Gapon 2012-11-25 15:07:27 +00:00
parent 7192f62bcc
commit 7ca5310ea3

View File

@ -2123,7 +2123,7 @@ zfs_fhtovp(vfs_t *vfsp, fid_t *fidp, int flags, vnode_t **vpp)
VN_HOLD(*vpp);
}
ZFS_EXIT(zfsvfs);
err = zfs_vnode_lock(*vpp, flags | LK_RETRY);
err = zfs_vnode_lock(*vpp, flags);
if (err != 0)
*vpp = NULL;
return (err);