]> 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, 10 Feb 2022 13:45:59 +0000 (08:45 -0500)
commit7fbdc1e3d421d4c2612933a5fe292541e9611aae
tree951a732ff396fe5ff402c4ac09ab3a2f8014074b
parent75900d1eb898fac8c8c4a793b828309bd2bd684e
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.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 38da0c96dc1b4698931f65d8d58e864dfc3a600e)
sys/geom/geom_io.c