zfs_fhtovp: there is no reason to amend lock flags with LK_RETRY here
MFC after: 12 days
This commit is contained in:
parent
7192f62bcc
commit
7ca5310ea3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user