Add a BUF_KERNPROC() in the BIO_DELETE path.

This seems to fix the problem which md(4) backed filesystems exposed.
This commit is contained in:
Poul-Henning Kamp 2001-01-30 10:06:08 +00:00
parent 8a6d185698
commit 4997ad7c1f
2 changed files with 2 additions and 0 deletions

View File

@ -497,6 +497,7 @@ spec_freeblks(ap)
bp->b_blkno = ap->a_addr;
bp->b_offset = dbtob(ap->a_addr);
bp->b_bcount = ap->a_length;
BUF_KERNPROC(bp);
DEV_STRATEGY(bp, 0);
return (0);
}

View File

@ -497,6 +497,7 @@ spec_freeblks(ap)
bp->b_blkno = ap->a_addr;
bp->b_offset = dbtob(ap->a_addr);
bp->b_bcount = ap->a_length;
BUF_KERNPROC(bp);
DEV_STRATEGY(bp, 0);
return (0);
}