]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfs: hoist out xfs_resizefs_init_new_ags()
authorGao Xiang <hsiangkao@redhat.com>
Wed, 24 Mar 2021 02:05:38 +0000 (19:05 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 25 Mar 2021 23:47:52 +0000 (16:47 -0700)
commitc789c83c7ef8f98f9f6f0864ce6a58dc4c4012d1
treef1f7dbd896d877586b665eb6929356083e150069
parent014695c0a78ea3054aa2105ba23cc107c3c27c74
xfs: hoist out xfs_resizefs_init_new_ags()

Move out related logic for initializing new added AGs to a new helper
in preparation for shrinking. No logic changes.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_fsops.c