Initialize b_iooffset correctly.

This commit is contained in:
Poul-Henning Kamp 2003-11-13 09:58:09 +00:00
parent 08569709d1
commit 98d87dfecd

View File

@ -555,6 +555,7 @@ spec_freeblks(ap)
bp->b_dev = ap->a_vp->v_rdev;
bp->b_blkno = ap->a_addr;
bp->b_offset = dbtob(ap->a_addr);
bp->b_iooffset = bp->b_offset;
bp->b_bcount = ap->a_length;
BUF_KERNPROC(bp);
DEV_STRATEGY(bp);