diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-01 22:44:21 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-07 07:50:35 +0200 |
| commit | b71ae66863e4320a3b7313b53bb4d65f1718d58b (patch) | |
| tree | ba3bdf7565319213899d24cbb1279159c746a513 /scripts/patch-kernel | |
| parent | f1930bc578095409c2dcfca6e4e898b24f0f0de6 (diff) | |
xfs: actually recover intended file sizes in xfs_xmi_item_recover_intent
LOLLM points out that xfs_xmi_item_recover_intent doesn't actually
restore the isize1 and isize2 fields that were recovered from an
unfinished exchmaps log intent item. Instead, xfs_exchmaps_init_intent
sets the wrong isize values from the recovered inodes, with the result
that the file sizes are not set correctly when item recovery finishes.
Fix this by restoring isize[12] from the log item.
Cc: stable@vger.kernel.org # v6.10
Fixes: 966ceafc7a4371 ("xfs: create deferred log items for file mapping exchanges")
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/patch-kernel')
0 files changed, 0 insertions, 0 deletions
