Re: [PATCH v6 01/37] ntfs: propagate mapping-pairs update errors from inode writeback
From: Namjae Jeon
Date: Sat Nov 21 2026 - 09:08:44 EST
On Wed, Nov 18, 2026 at 6:07 PM Xuewen Wang <wangxuewen_ky@xxxxxxx> wrote:
>
> From: Xuewen Wang <wangxuewen@xxxxxxxxxx>
>
> __ntfs_write_inode() overwrites a failed mapping-pairs update with the
> result of syncing standard information. fsync() can then report success
> while the mapping pairs remain dirty.
>
> Check the update result after releasing the runlist lock and take the
> existing error path. Preserve the errno and retry handling for ENOMEM.
>
> Fixes: af0db57d4293 ("ntfs: update inode operations")
> Reviewed-by: Baolin Liu <liubaolin@xxxxxxxxxx>
> Signed-off-by: Xuewen Wang <wangxuewen@xxxxxxxxxx>
Applied it to #ntfs-next.
Thanks!