aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_bio.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/kern/vfs_bio.c
parent4a20fe31c373d6a6c81bd6205d210bd893dc8068 (diff)
downloadsrc-b249ce48ea5560afdcff57e72a9880b7d3132434.tar.gz
src-b249ce48ea5560afdcff57e72a9880b7d3132434.zip
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/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index e7b67bfc408f..817e695c36f4 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -3554,7 +3554,7 @@ flushbufqueues(struct vnode *lvp, struct bufdomain *bd, int target,
}
vn_finished_write(mp);
if (unlock)
- VOP_UNLOCK(vp, 0);
+ VOP_UNLOCK(vp);
flushwithdeps += hasdeps;
flushed++;