]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
geom: Assert that BIO_SPEEDUP BIOs have bio_data set to NULL
authorMark Johnston <markj@FreeBSD.org>
Thu, 27 Jan 2022 14:58:19 +0000 (09:58 -0500)
committerMark Johnston <markj@FreeBSD.org>
Thu, 27 Jan 2022 14:58:19 +0000 (09:58 -0500)
commit38da0c96dc1b4698931f65d8d58e864dfc3a600e
tree112956dc551c6ef1852fb749811dfaa13085d6d1
parenta2dfffb98917a57bfacb155b9d7d423c3e8ff792
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
sys/geom/geom_io.c