diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2019-10-27 15:05:43 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-07 14:30:18 +0100 |
commit | c7a1d926dc4076aadad187614500afcd8de78818 (patch) | |
tree | c8aa4746f136ab4b248320b227ee733cb0d80507 /block/blk-mq-rdma.c | |
parent | block: Remove REQ_OP_ZONE_RESET plugging (diff) | |
download | linux-c7a1d926dc4076aadad187614500afcd8de78818.tar.xz linux-c7a1d926dc4076aadad187614500afcd8de78818.zip |
block: Simplify REQ_OP_ZONE_RESET_ALL handling
There is no need for the function __blkdev_reset_all_zones() as
REQ_OP_ZONE_RESET_ALL can be handled directly in blkdev_reset_zones()
bio loop with an early break from the loop. This patch removes this
function and modifies blkdev_reset_zones(), simplifying the code.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-rdma.c')
0 files changed, 0 insertions, 0 deletions