The nvme spec allows protection information formats with metadataReviewed-by: Hannes Reinecke <hare@xxxxxxx>
extending beyond the pi field. Use the actual size of the metadata field
for incrementing the protection buffer.
Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx>
---
block/bio-integrity.c | 1 +
block/t10-pi.c | 4 ++--
include/linux/blk-integrity.h | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)