Re: [PATCH v4 05/31] ntfs: report boot geometry and MFT bootstrap errors
From: liubaolin
Date: Tue Oct 27 2026 - 02:19:15 EST
在 2026/10/27 13:48, Hyunchul Lee 写道:
Hi Hyunchul,@@ -2802,7 +2822,8 @@ static int ntfs_fill_super(struct super_block *sb, struct fs_context *fc)
tmp_ino->i_ino = FILE_MFT;
insert_inode_hash(tmp_ino);
- if (ntfs_read_inode_mount(tmp_ino) < 0) {
+ err = ntfs_read_inode_mount(tmp_ino);
There is still one error handling case where ntfs_read_inode_mount()
returns -1.
You're right, I missed that return path. I'll return the actual errno there in v5.
Thanks,
Baolin.