diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-06-10 07:07:20 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-06-10 08:25:13 +0200 |
| commit | ae3692c7f440c1ff577aae1a51202415ec4a794b (patch) | |
| tree | 9f0978976ab9bf6dd62a13401122a382529dc583 /include/linux | |
| parent | 16fc9d358d12e6e9cc553162b4064ad58e7fa869 (diff) | |
xfs: add newly added RTGs to the free pool in growfs
When growing a zoned RT section, the newly added RTGs also need to be
tagged as free in the radix tree and add to the nr_free_zones counters.
Call xfs_add_free_zone to do that, otherwise using up the newly added
space will wait for free zones forever.
Fixes: 01b71e64bb87 ("xfs: support growfs on zoned file systems")
Cc: stable@vger.kernel.org # v6.15
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
