Re: [PATCH v4 28/31] ntfs: report EA metadata and restoration errors

From: liubaolin

Date: Tue Oct 27 2026 - 02:21:35 EST




在 2026/10/27 13:51, Hyunchul Lee 写道:
@@ -605,6 +621,8 @@ ssize_t ntfs_listxattr(struct dentry *dentry, char *buffer, size_t size)
} while (next > 0 && offset < ea_info_qsize);
out:
+ if (err == -EUCLEAN)
+ ntfs_report_file_metadata_error(inode, err);

this function appears to reache here with -EIO or -ENOENT.

Hi Hyunchul

You're right. I'll check the -EIO and -ENOENT paths and fix missing reporting in v5, while keeping normal absence distinct from corruption.

Thanks,
Baolin.