]> www.infradead.org Git - nvme.git/commit
block: invert the BLK_INTEGRITY_{GENERATE,VERIFY} flags
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Jun 2024 08:48:21 +0000 (10:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 14 Jun 2024 16:20:06 +0000 (10:20 -0600)
commit9f4aa46f2a7401025d8561495cf8740f773310fc
tree831a39dda53de6f7f55c0551c46fce0ad25882c7
parent3c3e85ddffae93eba1a257eb6939bf5dc1e93b9e
block: invert the BLK_INTEGRITY_{GENERATE,VERIFY} flags

Invert the flags so that user set values will be able to persist
revalidating the integrity information once we switch the integrity
information to queue_limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240613084839.1044015-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c
block/blk-integrity.c
include/linux/blk-integrity.h