summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-09-08 23:04:04 -0700
committerCarlos Maiolino <cem@kernel.org>2026-09-10 16:26:37 +0200
commit3466dfef0a20f842363958deea55be9f1d26818a (patch)
tree1de49ff48c9f1cc7c3537366f8bac4e2430ada15 /scripts/Makefile.thinlto
parent341f03865d0793e7df22c4661e04047c092e5ac2 (diff)
downloadlinux-3466dfef0a20f842363958deea55be9f1d26818a.tar.gz
linux-3466dfef0a20f842363958deea55be9f1d26818a.zip
xfs: snapshot old AGFL before rewriting it
LOLLM complains that we can't undo an attempt at fixing the AGFL if anything goes wrong during the rewrite, so take a snapshot of the whole buffer so that we can restore it. Move the xrep_agfl_update_agf call so that we only update the AGF if the AGFL update is 100% successful. While we're at it, fix leaking the used_extents bitmap if the disunion operation fails. Cc: stable@vger.kernel.org # v4.19 Fixes: 0e93d3f43ec7d3 ("xfs: repair the AGFL") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Assisted-by: LOLLM # finding obvious bugs Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions