Initialize b_offset before calling VOP_SPECSTRATEGY()

This commit is contained in:
Poul-Henning Kamp 2003-10-18 11:08:33 +00:00
parent 60efe2c932
commit f14676dc6f
2 changed files with 2 additions and 0 deletions

View File

@ -737,6 +737,7 @@ cd9660_strategy(ap)
}
vp = ip->i_devvp;
bp->b_dev = vp->v_rdev;
bp->b_offset = dbtob(bp->b_blkno);
VOP_SPECSTRATEGY(vp, bp);
return (0);
}

View File

@ -737,6 +737,7 @@ cd9660_strategy(ap)
}
vp = ip->i_devvp;
bp->b_dev = vp->v_rdev;
bp->b_offset = dbtob(bp->b_blkno);
VOP_SPECSTRATEGY(vp, bp);
return (0);
}