diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-09-06 21:37:28 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-09-13 11:41:42 +0900 |
| commit | 91709ba5d6d709b2b663287b7e871e2c6b480502 (patch) | |
| tree | aee41fed73f8608dca17b79195d16566e927b49f /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | 631946431ddc66a472c5cc629cd654e62dfa1f88 (diff) | |
| download | linux-next-91709ba5d6d709b2b663287b7e871e2c6b480502.tar.gz linux-next-91709ba5d6d709b2b663287b7e871e2c6b480502.zip | |
ntfs: protect runlist updates with the runlist lock
ntfs_non_resident_attr_shrink() calls runlist helpers that require the
runlist write lock, but did not hold it while freeing clusters and
truncating the runlist. Serialize those operations and the resident
conversion with the runlist lock.
ntfs_attr_map_cluster() can merge a newly allocated run before updating
mapping pairs. If the update fails, free the clusters and restore both
the in-memory runlist and on-disk mapping pairs from a saved runlist.
Mark the volume in error if either rollback step fails.
Fixes: 495e90fa3348 ("ntfs: update attrib operations")
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
