diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2017-06-29 20:31:12 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-07-04 00:56:25 +0200 |
commit | 128b6f9fdd9ace9e56cb3a263b4bc269658f9c40 (patch) | |
tree | 7424d26a92a1a7354293e5117e344b26b84499c0 /include | |
parent | bio-integrity: fold bio_integrity_enabled to bio_integrity_prep (diff) | |
download | linux-128b6f9fdd9ace9e56cb3a263b4bc269658f9c40.tar.xz linux-128b6f9fdd9ace9e56cb3a263b4bc269658f9c40.zip |
t10-pi: Move opencoded contants to common header
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/t10-pi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/t10-pi.h b/include/linux/t10-pi.h index 9375d23a24e7..635a3c5706bd 100644 --- a/include/linux/t10-pi.h +++ b/include/linux/t10-pi.h @@ -33,6 +33,8 @@ struct t10_pi_tuple { __be32 ref_tag; /* Target LBA or indirect LBA */ }; +#define T10_PI_APP_ESCAPE cpu_to_be16(0xffff) +#define T10_PI_REF_ESCAPE cpu_to_be32(0xffffffff) extern const struct blk_integrity_profile t10_pi_type1_crc; extern const struct blk_integrity_profile t10_pi_type1_ip; |