]> Gentwo Git Trees - linux/.git/commit
xfs: fix a rtgroup leak when xfs_init_zone fails
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Nov 2025 13:50:53 +0000 (08:50 -0500)
committerCarlos Maiolino <cem@kernel.org>
Wed, 5 Nov 2025 15:53:49 +0000 (16:53 +0100)
commitf5714a3c1a5658251360603231efe1bee21f9c2c
tree594fb8caeee568e5c486a07f6e9cf4f4017a47b2
parent8d7bba1e8314013ecc817a91624104ceb9352ddc
xfs: fix a rtgroup leak when xfs_init_zone fails

Drop the rtgrop reference when xfs_init_zone fails for a conventional
device.

Fixes: 4e4d52075577 ("xfs: add the zoned space allocator")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_zone_alloc.c