Fix the ufs/ffs file system so that it uses the lock
flags argument added to VFS_FHTOVP() by r222167. Reviewed by: mckusick
This commit is contained in:
parent
df73c41ac2
commit
dbed8d1fc8
@ -218,7 +218,7 @@ ufs_fhtovp(mp, ufhp, flags, vpp)
|
||||
struct vnode *nvp;
|
||||
int error;
|
||||
|
||||
error = VFS_VGET(mp, ufhp->ufid_ino, LK_EXCLUSIVE, &nvp);
|
||||
error = VFS_VGET(mp, ufhp->ufid_ino, flags, &nvp);
|
||||
if (error) {
|
||||
*vpp = NULLVP;
|
||||
return (error);
|
||||
|
Loading…
Reference in New Issue
Block a user