summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorShaun Tancheff2016-11-21 22:52:23 +0100
committerJens Axboe2016-11-21 23:08:24 +0100
commit778889d8412e36e666b1e4ce108373613c84b428 (patch)
tree09f6a7ab673ed4be84f3f296ffd8c4e0d4f6c770 /fs/block_dev.c
parentblock: clear all of bi_opf in bio_set_op_attrs (diff)
downloadkernel-qcow2-linux-778889d8412e36e666b1e4ce108373613c84b428.tar.gz
kernel-qcow2-linux-778889d8412e36e666b1e4ce108373613c84b428.tar.xz
kernel-qcow2-linux-778889d8412e36e666b1e4ce108373613c84b428.zip
block: apply blk_partition_remap to REQ_OP_ZONE_RESET
If a ZBC device is partitioned and operations are performed on the partition the zone information is rebased to the partition, however the zone reset is not mapped from the partition to device as are other operations. This causes the API (report zones / reset zone) to be unbalanced in this regard. Checking for the zone reset op code explicitly will balance the API. Signed-off-by: Shaun Tancheff <shaun.tancheff@seagate.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions