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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121198
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);
}