summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_sync.c
diff options
context:
space:
mode:
authorsturm <sturm@openbsd.org>2006-04-30 14:20:07 +0000
committersturm <sturm@openbsd.org>2006-04-30 14:20:07 +0000
commitb93f587a15bd356d38c53d3d018a0d2f18591b55 (patch)
treeb9534d2ab0aea74defff0f9d8012ea052f5c53f0 /sys/kern/vfs_sync.c
parentAdd a missing , (diff)
downloadwireguard-openbsd-b93f587a15bd356d38c53d3d018a0d2f18591b55.tar.xz
wireguard-openbsd-b93f587a15bd356d38c53d3d018a0d2f18591b55.zip
remove the simplelock argument from vfs_busy() which is currently not
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
Diffstat (limited to 'sys/kern/vfs_sync.c')
-rw-r--r--sys/kern/vfs_sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_sync.c b/sys/kern/vfs_sync.c
index 89367839c17..6068ff5473e 100644
--- a/sys/kern/vfs_sync.c
+++ b/sys/kern/vfs_sync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_sync.c,v 1.38 2006/04/19 11:55:55 pedro Exp $ */
+/* $OpenBSD: vfs_sync.c,v 1.39 2006/04/30 14:20:07 sturm Exp $ */
/*
* Portions of this code are:
@@ -353,7 +353,7 @@ sync_fsync(void *v)
* Walk the list of vnodes pushing all that are dirty and
* not already on the sync list.
*/
- if (vfs_busy(mp, LK_NOWAIT, NULL) == 0) {
+ if (vfs_busy(mp, LK_NOWAIT) == 0) {
asyncflag = mp->mnt_flag & MNT_ASYNC;
mp->mnt_flag &= ~MNT_ASYNC;
VFS_SYNC(mp, MNT_LAZY, ap->a_cred, ap->a_p);