Release clean buffer with wrong size and no dependencies also for non-VMIO
case.
This commit is contained in:
parent
4e0cd00988
commit
8272da3106
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user