Problem of "JFFS2 summary"

Ferenc Havasi havasi at inf.u-szeged.hu
Fri Apr 7 06:02:11 EDT 2006


Alexander Belyakov wrote:

> I have disabled that code and got my rootfs successfully mounted with
> JFFS2_SUMMARY enabled..
>
> ...
>    if (!buf_size) {
>        buf_len = c->sector_size;
>
> #if 0
>        if (jffs2_sum_active()) {
>            /* must reread because of summary test */
>            err = jffs2_flash_read_safe(c, buf_ofs, buf_len, buf);
>            if (err)
>                return err;
>        }
> #endif
>
>    }
> ...
>
> Probably someone who is in charge of JFFS2_SUMMARY feature can
> elaborate on this.

You are right. It was a forgatten code. We removed it with a patch
commited now.

Thanks!

Ferenc





More information about the linux-mtd mailing list