summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcsapuntz <csapuntz@openbsd.org>2001-09-19 22:52:41 +0000
committercsapuntz <csapuntz@openbsd.org>2001-09-19 22:52:41 +0000
commit3e569260cf8c3a911dfa071e05cb2ee33f7d3962 (patch)
tree03b9d077ea64a6eea4b50c0c1a6f4a1ce4953c10 /sys
parentchange tty name for linux (diff)
downloadwireguard-openbsd-3e569260cf8c3a911dfa071e05cb2ee33f7d3962.tar.xz
wireguard-openbsd-3e569260cf8c3a911dfa071e05cb2ee33f7d3962.zip
Get rid of B_VFLUSH. Not relevant after the end of the AGE queue.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_subr.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index bc6919c9793..368a42aca2f 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.66 2001/09/16 00:42:44 millert Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.67 2001/09/19 22:52:41 csapuntz Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -1974,7 +1974,8 @@ loop:
}
break;
}
- bp->b_flags |= B_BUSY | B_VFLUSH;
+ bremfree(bp);
+ bp->b_flags |= B_BUSY;
/*
* XXX Since there are no node locks for NFS, I believe
* there is a slight chance that a delayed write will
@@ -2012,7 +2013,8 @@ loop:
continue;
if ((bp->b_flags & B_DELWRI) == 0)
panic("vflushbuf: not dirty");
- bp->b_flags |= B_BUSY | B_VFLUSH;
+ bremfree(bp);
+ bp->b_flags |= B_BUSY;
splx(s);
/*
* Wait for I/O associated with indirect blocks to complete,