]> www.infradead.org Git - nvme.git/commit
blk-zoned: Split queue_zone_wplugs_show()
authorBart Van Assche <bvanassche@acm.org>
Tue, 17 Dec 2024 21:03:10 +0000 (13:03 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Dec 2024 15:17:23 +0000 (08:17 -0700)
commitcb01ecb79943367f9903b1f1ffb4afb6a3f4d715
tree317dadaa4ae24c29286a51e6ff4ba9eaf601f39f
parentfa8555630b32da7c239a1e01e9eb1bb040be59ac
blk-zoned: Split queue_zone_wplugs_show()

Reduce the indentation level of the code in queue_zone_wplugs_show() by
moving the body of the loop in that function into a new function.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241217210310.645966-5-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c