]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: make last AG grow/shrink perag centric
authorDave Chinner <dchinner@redhat.com>
Mon, 22 Aug 2022 10:50:59 +0000 (12:50 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 30 Aug 2022 07:42:12 +0000 (09:42 +0200)
commitef78f876e2703d21020e0762495650f4df26fbc5
tree13065b2138ac73ef49a74be1d944d53331886ab5
parent5652dc4fbb6c9e7a4911ddcc4c3e373a4d014a6f
xfs: make last AG grow/shrink perag centric

Source kernel commit: c6aee2481419b638a5257adbd3ffd33b11c59fa8

Because the perag must exist for these operations, look it up as
part of the common shrink operations and pass it instead of the
mount/agno pair.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_ag.c
libxfs/xfs_ag.h