diff options
| author | 2026-08-27 14:43:17 +0800 | |
|---|---|---|
| committer | 2026-08-27 21:56:15 +0900 | |
| commit | ac727d86fb84bdc9626ba9c756c26767459f3083 (patch) | |
| tree | dda4479591535299418ecd7ee87b6a9c6e8072fb /scripts/Makefile.thinlto | |
| parent | ntfs: fix race between fallocate and mmap reads (diff) | |
ntfs: leave HasEA flag untouched on setxattr failure
In ntfs_set_ea(), the exit path unconditionally updates the HasEA
flag based on ea_info_qsize. When an error occurs before
ea_info_qsize is updated, NInoClearHasEA() hides existing on-disk
EAs until the inode is evicted.
Only update the flag on success.
Fixes: fc053f05ca28 ("ntfs: add reparse and ea operations")
Signed-off-by: Baolin Liu <liubaolin@kylinos.cn>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
