xfs: hoist AGI repair context to a heap object
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:55:01 +0000 (14:55 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:58:58 +0000 (14:58 -0700)
commit5b57257025f97c643d502253055651c81b0ffc66
treec704bd95b50d16d91244c0e410a25261fbb0d5d8
parent10d587ecb77f33d966cfa2e8a57d51296df986db
xfs: hoist AGI repair context to a heap object

Save ~460 bytes of stack space by moving all the repair context to a
heap object.  We're going to add even more context data in the next
patch, which is why we really need to do this now.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/agheader_repair.c