diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-11-20 04:55:12 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-08 03:36:03 +0300 |
commit | 2e896d89510f23927ec393bee1e0570db3d5a6c6 (patch) | |
tree | 632a938ab92d6eb410128fe10361a00ff375816e /block/blk-settings.c | |
parent | 0ebcdd702f49aeb0ad2e2d894f8c124a0acc6e23 (diff) | |
download | linux-2e896d89510f23927ec393bee1e0570db3d5a6c6.tar.xz |
null_blk: Fail zone append to conventional zones
Conventional zones do not have a write pointer and so cannot accept zone
append writes. Make sure to fail any zone append write command issued to
a conventional zone.
Reported-by: Naohiro Aota <naohiro.aota@wdc.com>
Fixes: e0489ed5daeb ("null_blk: Support REQ_OP_ZONE_APPEND")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions