diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2011-05-22 20:39:07 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2011-05-22 20:39:07 +0000 |
commit | 71a9ed7d15117b03cbfff3817f04a5f5983fcbb4 (patch) | |
tree | 3007ad981f9ea6817bcdd7dd50c5efffe742473b /sys/ufs | |
parent | 12ddcc1b33320b2f47fcfadc2a831c63a07b34b3 (diff) | |
download | FreeBSD-src-71a9ed7d15117b03cbfff3817f04a5f5983fcbb4.zip FreeBSD-src-71a9ed7d15117b03cbfff3817f04a5f5983fcbb4.tar.gz |
Fix the ufs/ffs file system so that it uses the lock
flags argument added to VFS_FHTOVP() by r222167.
Reviewed by: mckusick
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_vfsops.c b/sys/ufs/ufs/ufs_vfsops.c index b71fc16..74a863a 100644 --- a/sys/ufs/ufs/ufs_vfsops.c +++ b/sys/ufs/ufs/ufs_vfsops.c @@ -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); |