]> www.infradead.org Git - users/hch/misc.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>
Sat, 21 Dec 2024 16:47:36 +0000 (09:47 -0700)
commit736a8772092fa8e3a87bf8768e47d6bc1fcbc149
tree21812c053f30e4812204d66f2561b7c366c44f5c
parente3d334adc3aea20e3caf16d408c1f5b04a59eed0
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