diff options
| author | 2026-09-01 22:44:37 -0700 | |
|---|---|---|
| committer | 2026-09-07 07:50:35 +0200 | |
| commit | 365fe37e10ea75840165f13322aa8481ea11dfef (patch) | |
| tree | 63e2785550f67d9c692f69bfb8dc1932a95911d5 /scripts/Makefile.thinlto | |
| parent | xfs: actually recover intended file sizes in xfs_xmi_item_recover_intent (diff) | |
xfs: don't modify file attributes or poke fsnotify for dry runs
I noticed that we shouldn't be removing file privileges when doing a dry
run of an exchange-range operation. LOLLM also points out that a dry
run shouldn't poke fsnotify because we don't actually change the files.
Fix both by gating them on !DRY_RUN.
Cc: stable@vger.kernel.org # v6.10
Fixes: 42672471f938cd ("xfs: bind together the front and back ends of the file range exchange code")
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
