aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_default.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-01-19 21:41:34 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-01-19 21:41:34 +0000
commita9099e5b107fa481d4f7524a236207e8986e31c5 (patch)
treecf967f30f8d37a56e37a601b8b5adbd425cdee3d /sys/kern/vfs_default.c
parent44c78346f638635f3909d21230b978113f3423e0 (diff)
downloadsrc-a9099e5b107fa481d4f7524a236207e8986e31c5.tar.gz
src-a9099e5b107fa481d4f7524a236207e8986e31c5.zip
vfs: switch vop_stdunlock to call lockmgr_unlock
Since the flags argument is now alawys 0 the new call provides the same behavior.
Notes
Notes: svn path=/head/; revision=356898
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r--sys/kern/vfs_default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index 588eb85be6bd..ac5f60b64e97 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -526,7 +526,7 @@ vop_stdunlock(ap)
{
struct vnode *vp = ap->a_vp;
- return (lockmgr_unlock_fast_path(vp->v_vnlock, 0, NULL));
+ return (lockmgr_unlock(vp->v_vnlock));
}
/* See above. */