mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Use the bio field instead of the driver field as intended.
This commit is contained in:
parent
f68d1644f8
commit
fb235b243c
1 changed files with 2 additions and 2 deletions
|
|
@ -855,7 +855,7 @@ acd_strategy(struct bio *bp)
|
|||
return;
|
||||
}
|
||||
request->dev = dev;
|
||||
request->driver = bp;
|
||||
request->bio = bp;
|
||||
bcopy(ccb, request->u.atapi.ccb,
|
||||
(atadev->param.config & ATA_PROTO_MASK) ==
|
||||
ATA_PROTO_ATAPI_12 ? 16 : 12);
|
||||
|
|
@ -887,7 +887,7 @@ acd_strategy(struct bio *bp)
|
|||
static void
|
||||
acd_done(struct ata_request *request)
|
||||
{
|
||||
struct bio *bp = request->driver;
|
||||
struct bio *bp = request->bio;
|
||||
|
||||
/* finish up transfer */
|
||||
bp->bio_completed = request->donecount;
|
||||
|
|
|
|||
Loading…
Reference in a new issue