]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: refactor blkdev_zone_mgmt_ioctl
authorChristoph Hellwig <hch@lst.de>
Fri, 27 Mar 2026 09:00:32 +0000 (10:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 10 Apr 2026 01:14:58 +0000 (19:14 -0600)
commit539fb773a3f7c07cf7fd00617f33ed4e33058d72
treea166a72891ab46794861eb87963b2d9544b581bc
parentb774765fb804045ee774476ded8e52482ae5ecb7
block: refactor blkdev_zone_mgmt_ioctl

Split the zone reset case into a separate helper so that the conditional
locking goes away.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://patch.msgid.link/20260327090032.3722065-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c