diff options
| author | Baolin Liu <liubaolin@kylinos.cn> | 2026-08-21 13:32:32 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-26 20:15:34 +0900 |
| commit | 9692b1b4fc00cf89628bc43f71729ab21f14f8d3 (patch) | |
| tree | 05304c0577119f12c7474af1ecd42372d140f45e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3d3de2aee17d1431694aa085039479b5679e5ad4 (diff) | |
ntfs: propagate reparse index insertion failure
update_reparse_data() ignores the return value of
set_reparse_index(). When index insertion fails, the code removes
the just-written reparse data as cleanup but still returns 0, so
symlink(2) (and WSL special file creation) reports success while
no reparse data exists on disk. When there was no previous reparse
data (oldsize == 0), the failure was likewise silently ignored.
Propagate the error to the caller.
Fixes: fc053f05ca28 ("ntfs: add reparse and ea operations")
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/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
