mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
Initialize b_offset before calling VOP_SPECSTRATEGY()
This commit is contained in:
parent
60efe2c932
commit
f14676dc6f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121198
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue