[2.6.25 PATCH] JFFS2 Fix of panics caused by wrong condition for hole frag creation in write_begin

Atsushi Nemoto anemo at mba.ocn.ne.jp
Fri May 9 11:09:50 EDT 2008


On Mon, 14 Apr 2008 20:40:02 +0100, David Woodhouse <dwmw2 at infradead.org> wrote:
> From: Alexey Korolev <akorolev at infradead.org>
> 
> This fixes a regression introduced in commit
> 205c109a7a96d9a3d8ffe64c4068b70811fef5e8 when switching to
> write_begin/write_end operations in JFFS2. The page offset is
> miscalculated, leading to corruption of the fragment lists and
> subsequently to memory corruption and panics.
> 
> Signed-off-by: Alexey Korolev <akorolev at infradead.org>
> Signed-off-by: Vasiliy Leonenko <vasiliy.leonenko at mail.ru>
> Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

I see this in final 2.6.25 kernel.
Is this worth to go to 2.6.24.y stable too?

---
Atsushi Nemoto



More information about the linux-mtd mailing list