mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Initialize b_offset before calling VOP_SPECSTRATEGY()
This commit is contained in:
parent
60efe2c932
commit
f14676dc6f
2 changed files with 2 additions and 0 deletions
|
|
@ -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