Initialize b_iooffset correctly.
This commit is contained in:
parent
08569709d1
commit
98d87dfecd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user