]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: put the open zone later xfs_open_zone_put
authorChristoph Hellwig <hch@lst.de>
Tue, 31 Mar 2026 15:27:25 +0000 (17:27 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 7 Apr 2026 11:28:47 +0000 (13:28 +0200)
commita99ed5dbae018627faf4ac275cb322e94606a6f9
tree5fe0a80d7d0cc7bc57601831ec306f4a1ebb4ffe
parentc2257d9f63bbf7e1f39fb2b5585b21ea7445e18f
xfs: put the open zone later xfs_open_zone_put

The open zone is what holds the rtg reference for us.  This doesn't
matter until we support shrinking, and even then is rather theoretical
because we can't shrink away a just filled zone in a tiny race window,
but let's play safe here.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_zone_alloc.c