Problem of "JFFS2 summary"

Ferenc Havasi havasi at inf.u-szeged.hu
Thu Apr 20 21:58:12 EDT 2006


Hi Alexander,

> Ferenc, I have just looked at Centralized summary patch. It seems it 
> is good idea to add check c->mtd->block_isbad against NULL before call 
> in jffs2_cs_build_filesystem_jeb() function. I understand that your 
> patch at the moment is for NAND only but someone, for example, may 
> have rootfs on NOR where block_isbad() method is not provided. Adding 
> that check you will just get message "...cs_block is not valid..." for 
> JFFS2 at NOR, otherwise Kernel panic.

We've updated the centralized summary patch. Now if it does not find 
block_isbad() (NOR), centralized summary will be disabled for that 
filesystem.

Thank for your feedback.

Ferenc





More information about the linux-mtd mailing list