diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-09-08 17:57:33 +0900 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-09-15 06:53:06 -0600 |
| commit | 983b770dc5ba205c3afe6d30460068cdca9f1d16 (patch) | |
| tree | 46957eb51b470340d472e533bfe72456c633e309 /include/linux | |
| parent | 670a7da6359f260c9141e0f155b8a7bd173a3e34 (diff) | |
| download | linux-next-983b770dc5ba205c3afe6d30460068cdca9f1d16.tar.gz linux-next-983b770dc5ba205c3afe6d30460068cdca9f1d16.zip | |
block: refactor disk_update_zone_resources()
Since the function disk_update_zone_resources() does a lot of checks
beside updating a zoned disk limits and resources, rename this function
to disk_revalidate_zone_resources().
To keep all the checks together, move the capacity checks (including the
check on the end sector of the last zone of the disk) in
blk_revalidate_disk_zones() to this function.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Link: https://patch.msgid.link/20260908085745.1082697-5-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
