mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Correct a mishap in phk's BIO_* changes.
This commit is contained in:
parent
9da485d8d9
commit
eae50c69b3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58595
@ -1181,7 +1181,7 @@ acd_start(struct atapi_softc *atp)
|
|||||||
|
|
||||||
devstat_start_transaction(cdp->stats);
|
devstat_start_transaction(cdp->stats);
|
||||||
|
|
||||||
atapi_queue_cmd(cdp->atp, ccb, bp->b_data, bp->b_bcount,
|
atapi_queue_cmd(cdp->atp, ccb, bp->b_data, count * cdp->block_size,
|
||||||
(bp->b_iocmd == BIO_READ)?ATPR_F_READ : 0, 30, acd_done, bp);
|
(bp->b_iocmd == BIO_READ)?ATPR_F_READ : 0, 30, acd_done, bp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user