Re: [PATCH v2] ubifs: account for short copies in ubifs_write_end
From: Hungyu Lin
Date: Fri Dec 04 2026 - 06:13:12 EST
On Thu, Nov 12, 2026 at 5:58 AM Hungyu Lin <dennylin0707@xxxxxxxxx> wrote:
> ubifs_write_end() updates i_size and ui_size to pos + len even when
> fewer bytes were copied. A one-byte write at EOF from an unreadable
> buffer can fail with EFAULT while extending the file by one byte.
> Partial writes can also extend the file past the last byte copied.
Gentle ping. This has Zhihao's Reviewed-by and still applies to
next-20261203.
Could this be picked up?
Thanks,
Hungyu