diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2020-05-12 17:55:45 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-12 20:36:28 -0600 |
commit | 02992df822e7e36685593aad10721a5a9f8d3402 (patch) | |
tree | fcb25d7dfe295383462ca1f094a44366916a5af4 /block/blk-map.c | |
parent | e6249cdd46e43a7d3bdb8cce5fe24565d6c11e94 (diff) | |
download | linux-rpi-02992df822e7e36685593aad10721a5a9f8d3402.tar.gz linux-rpi-02992df822e7e36685593aad10721a5a9f8d3402.tar.bz2 linux-rpi-02992df822e7e36685593aad10721a5a9f8d3402.zip |
block: provide fallbacks for blk_queue_zone_is_seq and blk_queue_zone_no
blk_queue_zone_is_seq() and blk_queue_zone_no() have not been called with
CONFIG_BLK_DEV_ZONED disabled until now.
The introduction of REQ_OP_ZONE_APPEND will change this, so we need to
provide noop fallbacks for the !CONFIG_BLK_DEV_ZONED case.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions