summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorBaolin Liu <liubaolin@kylinos.cn>2026-09-23 14:02:42 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-20 18:45:59 +0900
commit1cbfb3c2d57f1a29dbcda61cc058b9503289b8a6 (patch)
tree821a73ab3a8d51cbd53dc5082c38bbd8a351bd9a /scripts/Makefile.thinlto
parent6fba59ab89a7b0313144dbff78ed23a93cd8c7db (diff)
downloadlinux-1cbfb3c2d57f1a29dbcda61cc058b9503289b8a6.tar.gz
linux-1cbfb3c2d57f1a29dbcda61cc058b9503289b8a6.zip
ntfs: restore EA attributes when an update fails
Creating or replacing an EA can leave EA data and information out of sync if a later update fails. Existing deletion rollback ignores its own errors, and creation changes metadata before preparing the new list. Prepare the complete new list while retaining both original attributes. Update EA data and information only after preparation succeeds, restore both on failure, and publish the cached presence state only on success. Keep structure errors as EUCLEAN and preserve operation errors. Mark the volume erroneous and shut it down if either restoration fails. This handles synchronous failures; it does not make the two updates atomic across power loss or guarantee restoration on a failing device. Signed-off-by: Baolin Liu <liubaolin@kylinos.cn> Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions