Christoph,
Many of the fields in struct bio_integrity_data are only needed for
the default integrity buffer in the block layer, and the variable
sized array at the end of the structure makes it very hard to embed
into caller allocated structures.
This looks OK to me.
Reviewed-by: Martin K. Petersen <redacted>
--
Martin K. Petersen Oracle Linux Engineering