summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorBaolin Liu <liubaolin@kylinos.cn>2026-09-23 14:02:40 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-12 20:47:28 +0900
commitd020850da46341193656445a8e56cd716d6de575 (patch)
tree9c7cd23456e7cf54572244465272f19105db9cc2 /tools/lib/python
parentb178f399e5faa8fa978c0ab58abd02b37c44bbd7 (diff)
downloadlinux-next-d020850da46341193656445a8e56cd716d6de575.tar.gz
linux-next-d020850da46341193656445a8e56cd716d6de575.zip
ntfs: preserve EA attribute lookup errors
ntfs_attr_exist() treats lookup failures as absence. Using it while updating EAs can select creation or removal paths after an allocation or I/O failure. Use an EA-local lookup helper that preserves errors from mapping the MFT record, allocating the search context and looking up the attribute. Check both EA attributes before modifying either and return EUCLEAN if only one exists. Keep the known presence state for the final update. 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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions