diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2019-09-16 17:44:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-18 04:03:49 +0200 |
commit | 5eaed68dd38c14907be2ce5a45c73a5f2acb75f4 (patch) | |
tree | 3d993390f50abe532c3858a7cb04596c8f7a0d1d /block/blk-mq-virtio.c | |
parent | Merge tag 'for-5.4/block-2019-09-16' of git://git.kernel.dk/linux-block (diff) | |
download | linux-5eaed68dd38c14907be2ce5a45c73a5f2acb75f4.tar.xz linux-5eaed68dd38c14907be2ce5a45c73a5f2acb75f4.zip |
block: use symbolic constants for t10_pi type
Replace all hard-coded values with T10_PI_TYPES to make the code more
readable.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-virtio.c')
0 files changed, 0 insertions, 0 deletions