]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: remove disk_zone_is_full()
authorDamien Le Moal <dlemoal@kernel.org>
Fri, 27 Feb 2026 13:19:47 +0000 (22:19 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Mar 2026 20:30:00 +0000 (14:30 -0600)
commitc30e8c4bb0e088068a7aae2d98882ec1cfa57d4c
tree2c20e54f1504209e18a9472f9318a1cb2e1aa82f
parent1084e41deeada93eebfd83572cf29029c24e5443
block: remove disk_zone_is_full()

The helper function disk_zone_is_full() is only used in
disk_zone_wplug_is_full(). So remove it and open code it directly in
this single caller.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c