diff options
| author | 2026-08-21 13:32:33 +0800 | |
|---|---|---|
| committer | 2026-08-26 20:15:38 +0900 | |
| commit | ada728801999e25e610091362447372f1b25dd25 (patch) | |
| tree | f965e469983b01cf797a14beca918319e5f75f30 /scripts/Makefile.thinlto | |
| parent | ntfs: propagate reparse index insertion failure (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
