[PATCH] jffs2: keep alloc_sem held when a write retry cannot reserve space
Song jeonghak
thdwjdgkr123 at gmail.com
Sun Nov 29 04:48:04 PST 2026
Hi Richard, David,
Gentle ping on this patch. It fixes the double unlock of c->alloc_sem
reported by syzbot when the write retry in jffs2_write_dnode() or
jffs2_write_dirent() cannot reserve space.
Shuai Liu has independently reproduced the bug and tested the fix on
v7.4-rc3 and replied with a Tested-by. The patch still applies to
next-20261126.
Zhihao, I have added you to Cc since you have been reviewing recent
jffs2 patches. Any comments would be welcome.
Is there anything else needed from my side?
Thanks,
Song jeonghak
More information about the linux-mtd
mailing list