Release clean buffer with wrong size and no dependencies also for non-VMIO

case.
This commit is contained in:
Tor Egge 2005-10-09 22:41:25 +00:00
parent 4e0cd00988
commit 8272da3106

View File

@ -2396,8 +2396,7 @@ loop:
bp->b_flags |= B_NOCACHE;
bwrite(bp);
} else {
if ((bp->b_flags & B_VMIO) &&
(LIST_FIRST(&bp->b_dep) == NULL)) {
if (LIST_FIRST(&bp->b_dep) == NULL) {
bp->b_flags |= B_RELBUF;
brelse(bp);
} else {