AW: [PATCH v2] ubifs: account for short copies in ubifs_write_end

From: Richard Weinberger

Date: Fri Dec 04 2026 - 07:31:43 EST


Am Fri, Dec 4, 2026, 12:12 schrieb Hungyu Lin <dennylin0707@xxxxxxxxx>:
> 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?

It will. I'm just busy with other things.

Thanks,
//richard