summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYichong Chen <chenyichong@uniontech.com>2026-07-27 17:12:14 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-07-27 21:02:55 +0900
commit896fcc93574fd511ee04a4110e8ea59d6d8d43d7 (patch)
treed22cc025edf29158626b368d502f071cfb4230f1 /tools/perf/scripts/python/export-to-postgresql.py
parent4b1fac2bb1bcb2416f5bee66428312d5f9eb8dfb (diff)
exfat: write moved entry before removing source
exfat_move_file() removes the old directory entry before the new entry has been written. If writing the new entry fails, rename returns an error after the source entry has already been marked deleted. Write the new entry first, then remove the old entry and update the cached inode location. This keeps the source entry intact if creating the destination entry fails. Signed-off-by: Yichong Chen <chenyichong@uniontech.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions