]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: make last AG grow/shrink perag centric
authorDave Chinner <dchinner@redhat.com>
Thu, 7 Jul 2022 09:07:09 +0000 (19:07 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 7 Jul 2022 09:07:09 +0000 (19:07 +1000)
commitb99c42e1533d9cc8695d48361406cda61c5864fe
treee703c04f4032cbbea432d97af339068c7cdcb58c
parent3b3824b37fd70377c65eb04fe49288d1630a7d62
xfs: make last AG grow/shrink perag centric

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>
fs/xfs/libxfs/xfs_ag.c
fs/xfs/libxfs/xfs_ag.h
fs/xfs/xfs_fsops.c
fs/xfs/xfs_ioctl.c