summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-09-02 22:52:07 -0700
committerCarlos Maiolino <cem@kernel.org>2026-09-07 07:50:37 +0200
commit6b760b3232b3efc8bcc7c165e76300bc1c9140c5 (patch)
treebd0ad604c7a335df1111b583489c89bd368bbe75 /scripts/Makefile.thinlto
parent3f9fd694fa429e89fe6de51b22b0ed5fb8b2daf4 (diff)
downloadlinux-stable-6b760b3232b3efc8bcc7c165e76300bc1c9140c5.tar.gz
linux-stable-6b760b3232b3efc8bcc7c165e76300bc1c9140c5.zip
xfs: make the rtsummary repair fix the file size too
LOLLM noticed that the rtsummary repair code will create a new rtsummary with the correct file size, but it won't force the new file size to be set on the existing rtsummary file, leaving the rtsummary corrupt. Fix this by setting up the tempfile mapping-exchange to run to the end of both files, which is the magic offset needed to reset the file size. Cc: stable@vger.kernel.org # v6.10 Fixes: abf039e2e4afde ("xfs: online repair of realtime summaries") Signed-off-by: Darrick J. Wong <djwong@kernel.org> Assisted-by: LOLLM # finding obvious bugs 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