diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-18 08:30:13 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-18 13:10:47 -0600 |
commit | d276a22314c2bad9136c5e0b09eb3c8a560e1161 (patch) | |
tree | e45c88ec000ada2256c86335430c8cf051578fa2 /drivers/block | |
parent | 6b1439d203a3c3d7adcf31ba70734eb95f8fa02d (diff) | |
download | linux-d276a22314c2bad9136c5e0b09eb3c8a560e1161.tar.bz2 |
ublk: remove UBLK_IO_F_INTEGRITY
The ublk protocol has no mechanism to actually transfer the integrity
metadata, so don't define this flag, which requires that an integrity
payload is attached to a bio.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220718063013.335531-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/ublk_drv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/ublk_drv.c b/drivers/block/ublk_drv.c index 42afab25864f..796d8230fb60 100644 --- a/drivers/block/ublk_drv.c +++ b/drivers/block/ublk_drv.c @@ -389,9 +389,6 @@ static inline unsigned int ublk_req_build_flags(struct request *req) if (req->cmd_flags & REQ_META) flags |= UBLK_IO_F_META; - if (req->cmd_flags & REQ_INTEGRITY) - flags |= UBLK_IO_F_INTEGRITY; - if (req->cmd_flags & REQ_FUA) flags |= UBLK_IO_F_FUA; |