summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBaolin Liu <liubaolin@kylinos.cn>2026-08-21 13:32:33 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-26 20:15:38 +0900
commitada728801999e25e610091362447372f1b25dd25 (patch)
treef965e469983b01cf797a14beca918319e5f75f30 /tools/perf/scripts/python/bin
parent9692b1b4fc00cf89628bc43f71729ab21f14f8d3 (diff)
ntfs: return -ERANGE for undersized xattr buffer
When the value buffer passed to getxattr(2) for system.dos_attrib, system.ntfs_attrib or system.ntfs_attrib_be is smaller than the attribute value, ntfs_getxattr() returns -ENODATA, which tells userspace the attribute does not exist. The xattr API expects -ERANGE in this case, and ntfs_get_ea() in the same file already returns -ERANGE for regular EAs. 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/bin')
0 files changed, 0 insertions, 0 deletions