Re: Please drop 64d9183203eeb in mm-nonmm-unstable ([syzbot] [exfat?] WARNING in fat_ent_write)

From: Andrew Morton

Date: Mon Aug 24 2026 - 12:53:26 EST


On Mon, 24 Aug 2026 18:31:29 +0900 OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> wrote:

> https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/fs/fat/misc.c?h=mm-nonmm-unstable&id=64d9183203eebe33de6188b70a8c1e91f52885db (fat: restore original value when fat_ent_write failed)
>
> This commit was missing to consider about the path of error by sync
> write. Since current bh write clears uptodate flag if got I/O error, so
> this patch doesn't work for now with wait==true.
>
> Please drop this patch at least until stop clearing the uptodate by bh
> sync write and buffer is reusable after the error.

This is now in Linus's tree, as 64d9183203ee. Please send along a fix,
with

Fixes: 64d9183203ee ("fat: restore original value when fat_ent_write failed")