summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-01-09 06:03:55 +0100
committerJens Axboe <axboe@kernel.dk>2020-01-15 16:18:39 +0100
commit16c731fed6d8e5615e23d2fd59cfe62eb10d9ff4 (patch)
tree2c0f9532089387ef752f99b55fc55a60290bf1db /drivers/md
parentblock: fix get_max_segment_size() overflow on 32bit arch (diff)
downloadlinux-16c731fed6d8e5615e23d2fd59cfe62eb10d9ff4.tar.xz
linux-16c731fed6d8e5615e23d2fd59cfe62eb10d9ff4.zip
null_blk: Fix zone write handling
null_zone_write() only allows writing empty and implicitly opened zones. Writing to closed and explicitly opened zones must also be allowed and the zone condition must be transitioned to implicit open if the zone is not explicitly opened already. Fixes: da644b2cc1a4 ("null_blk: add zone open, close, and finish support") Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions