diff options
| author | Baolin Liu <liubaolin@kylinos.cn> | 2026-08-18 16:27:40 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 19:12:02 +0900 |
| commit | 60038154b40e03fdfade1eb975f0305c4c887d5e (patch) | |
| tree | 6dc868a348c98e85d72165a345008cf1c7c6ca85 /tools/perf/scripts/python | |
| parent | cc9d09fef78410bcd37ac05168cbd5f6dd75d3d2 (diff) | |
ntfs: do not update ctime when setxattr fails
ntfs_setxattr() updates ctime and marks the inode dirty even when
the operation fails. A failed setxattr(2) must not change file
metadata.
Update ctime only on success.
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')
0 files changed, 0 insertions, 0 deletions
