[PATCH] [MTD] JFFS2: Missing verify buffer allocation/deallocation.

Artem Bityutskiy dedekind1 at gmail.com
Tue Sep 1 04:48:32 EDT 2009


On 08/27/2009 11:44 AM, massimo cirillo wrote:
> From: Massimo Cirillo<maxcir at gmail.com>
>
> The function jffs2_nor_wbuf_flash_setup() doesn't allocate the verify buffer
> if CONFIG_JFFS2_FS_WBUF_VERIFY is defined, so causing a kernel panic when
> that macro is enabled and the verify function is called. Similarly the
> jffs2_nor_wbuf_flash_cleanup() must free the buffer if
> CONFIG_JFFS2_FS_WBUF_VERIFY is enabled.
> The following patch fixes the problem.
> The following patch applies to 2.6.30 kernel.

Applied to l2-mtd-2.6.git. But please, do not send line-wrapped
patches.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)



More information about the linux-mtd mailing list