aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/fuse/fuse_vfsops.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-01-03 22:29:58 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-01-03 22:29:58 +0000
commitb249ce48ea5560afdcff57e72a9880b7d3132434 (patch)
treeaf24958629e49de8db56734a7389a612627230d5 /sys/fs/fuse/fuse_vfsops.c
parent4a20fe31c373d6a6c81bd6205d210bd893dc8068 (diff)
vfs: drop the mostly unused flags argument from VOP_UNLOCK
Filesystems which want to use it in limited capacity can employ the VOP_UNLOCK_FLAGS macro. Reviewed by: kib (previous version) Differential Revision: https://reviews.freebsd.org/D21427
Notes
Notes: svn path=/head/; revision=356337
Diffstat (limited to 'sys/fs/fuse/fuse_vfsops.c')
-rw-r--r--sys/fs/fuse/fuse_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fuse/fuse_vfsops.c b/sys/fs/fuse/fuse_vfsops.c
index fff2cca67e77..a4c21c5c5a45 100644
--- a/sys/fs/fuse/fuse_vfsops.c
+++ b/sys/fs/fuse/fuse_vfsops.c
@@ -626,7 +626,7 @@ fuse_vfsop_root(struct mount *mp, int lkflags, struct vnode **vpp)
SDT_PROBE2(fusefs, , vfsops, trace, 1,
"root vnode race");
FUSE_UNLOCK();
- VOP_UNLOCK(*vpp, 0);
+ VOP_UNLOCK(*vpp);
vrele(*vpp);
vrecycle(*vpp);
*vpp = data->vroot;