]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: pass the write pointer to xfs_init_zone
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Jan 2026 06:53:26 +0000 (07:53 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:17 +0000 (12:57 +0100)
commit776b76f7547fb839954aae06f58ac7b6b35c0b25
tree747042563f78fb45edc5aea8d37934646c82a037
parentfc633b5c5b80c1d840b7a8bc2828be96582c6b55
xfs: pass the write pointer to xfs_init_zone

Move the two methods to query the write pointer out of xfs_init_zone into
the callers, so that xfs_init_zone doesn't have to bother with the
blk_zone structure and instead operates purely at the XFS realtime group
level.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_zone_alloc.c