HomeFreeBSD

Avoid a dubious assignment to bio_data in aio_qbio().

Description

Avoid a dubious assignment to bio_data in aio_qbio().

A user pointer is not a suitable value for bio_data and the next block
of code always overwrites bio_data anyway. Just use cb->aio_buf
directly in the call to vm_fault_quick_hold_pages().

Reviewed by: kib
Obtained from: CheriBSD
MFC after: 1 month
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26595

Details

Provenance
jhbAuthored on Sep 30 2020, 5:49 PM
Parents
rG6b74091dd5c4: ahci_generic: add quirk for NXP0004 (NXP Layerscape LX2160A)
Branches
Unknown
Tags
Unknown

Event Timeline