diff options
| author | 2026-09-04 17:00:53 +0800 | |
|---|---|---|
| committer | 2026-10-20 18:41:41 +0900 | |
| commit | 2db4627c57d608df40647f553a3b5cad1691c1c6 (patch) | |
| tree | 204f09fd6443a9ba0ea976d1174c150d0f03586a /scripts/Makefile.thinlto | |
| parent | ntfs: preserve the truncate error in ntfs_enlarge_attribute() (diff) | |
ntfs: propagate the map_mft_record() error in ntfs_attrlist_entry_add()
ntfs_attrlist_entry_add() replaces the map_mft_record() error with -EIO,
so an -ENOMEM allocation failure is reported as an I/O error. Both
callers pass the value on to ntfs_attr_add(), which no longer collapses
it since commit 8efe00b098b5 ("ntfs: preserve error code in
ntfs_resident_attr_record_add()").
Return PTR_ERR(ni_mrec) instead. Also fix the debug message.
Fixes: 495e90fa3348 ("ntfs: update attrib 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
