diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-07-17 14:54:27 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-07-17 14:54:27 +0000 |
commit | b99340ef94a70becb92343e43ed94a97cb091388 (patch) | |
tree | 7e5fec496261757b9863d6c7561edff12bb81970 /sys/kern/vfs_subr.c | |
parent | 4111bf7a7d1cadcb7b9f798827846823cc0a378d (diff) |
Don't wait for B_READ buffers on shutdown.
From NetBSD.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index d69364f7d09..4ea481d6c88 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.45 2000/04/25 22:41:57 csapuntz Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.46 2000/07/17 14:54:26 art Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -1790,7 +1790,7 @@ vfs_syncwait(verbose) for (iter = 0; iter < 20; iter++) { nbusy = 0; for (bp = &buf[nbuf]; --bp >= buf; ) { - if ((bp->b_flags & (B_BUSY|B_INVAL)) == B_BUSY) + if ((bp->b_flags & (B_BUSY|B_INVAL|B_READ)) == B_BUSY) nbusy++; /* * With soft updates, some buffers that are |