diff options
| author | Christoph Hellwig <[email protected]> | 2024-06-13 10:48:21 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-06-14 10:20:06 -0600 |
| commit | 9f4aa46f2a7401025d8561495cf8740f773310fc (patch) | |
| tree | 831a39dda53de6f7f55c0551c46fce0ad25882c7 /include/linux | |
| parent | 3c3e85ddffae93eba1a257eb6939bf5dc1e93b9e (diff) | |
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 <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/blk-integrity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/blk-integrity.h b/include/linux/blk-integrity.h index 56ce1ae35580..bafa01d4e7f9 100644 --- a/include/linux/blk-integrity.h +++ b/include/linux/blk-integrity.h @@ -7,8 +7,8 @@ struct request; enum blk_integrity_flags { - BLK_INTEGRITY_VERIFY = 1 << 0, - BLK_INTEGRITY_GENERATE = 1 << 1, + BLK_INTEGRITY_NOVERIFY = 1 << 0, + BLK_INTEGRITY_NOGENERATE = 1 << 1, BLK_INTEGRITY_DEVICE_CAPABLE = 1 << 2, BLK_INTEGRITY_REF_TAG = 1 << 3, }; |