diff options
| author | 2026-09-10 22:53:55 -0700 | |
|---|---|---|
| committer | 2026-09-15 10:11:11 +0200 | |
| commit | 8fc18580ec17f90beac4c933fbe4c74dcd3b7f36 (patch) | |
| tree | 9366f9aec7078f57c41522c06b71b2fec3bc6d08 /scripts/Makefile.thinlto | |
| parent | xfs: check padding field in xfs_ioc_commit_range (diff) | |
xfs: don't call xfs_exchange_range_finish for a dry run
LOLLM noticed that we strip file privileges and whatnot even for a dry
run. We also shouldn't flush dirty data to disk or trim COW staging
events for a dry run. Neither of those behaviors are allowed by the
manpage, so fix that by exiting early on DRY_RUN in various functions.
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
