Re: [PATCH v5 1/6] ntfs: mark the record dirtied by a resident write in iomap_end

From: Hyunchul Lee

Date: Tue Dec 01 2026 - 19:10:09 EST


> diff --git a/fs/ntfs/iomap.c b/fs/ntfs/iomap.c
> index ce916707f69b..920a1aa917fe 100644
> --- a/fs/ntfs/iomap.c
> +++ b/fs/ntfs/iomap.c
> @@ -691,7 +691,8 @@ static int ntfs_write_iomap_begin_resident(struct inode *inode, loff_t offset,
> iomap->inline_data = kattr;
> iomap->offset = 0;
> iomap->length = attr_len;
> - iomap->private = mrec_ni;
> + /* The record can be an extent record: let iomap_end mark it dirty. */
> + iomap->private = ctx->ntfs_ino;

Could you trim down comments in this patch?

--
Thanks,
Hyunchul