HomeFreeBSD

geom: Assert that BIO_SPEEDUP BIOs have bio_data set to NULL

Description

geom: Assert that BIO_SPEEDUP BIOs have bio_data set to NULL

Like BIO_FLUSH, there is no reason for consumers to pass a BIO_SPEEDUP
request with non-NULL bio_data, so assert this.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Jan 27 2022, 2:58 PM
Parents
rGa2dfffb98917: shsec: Allocate data blocks only for BIO_READ/WRITE requests
Branches
Unknown
Tags
Unknown