[JFFS2]remove totlen from jffs2_raw_node_ref
Artem B. Bityutskiy
dedekind at yandex.ru
Fri Nov 11 08:52:09 EST 2005
Pierre.Ricadat at UTBM.fr wrote:
> Hi'
>
> I'm trying to remove totlen from jffs2_raw_node_ref structure.
>
> Could you confirm (or not) the following changes are needed? I understood that
> from http://lists.infradead.org/pipermail/linux-mtd/2003-October/008689.html
>
> - create a jffs2_raw_node_ref structure even for the dirty nodes (in scan.c :
> case JFFS2_NODETYPE_CLEANMARKER, line 632)
>
> - create a jffs2_raw_node_ref for the obsolete nodes we add to wasted (in
> scan.c, line 729)
>
> - then modify the calls to totlen in the other files and use
> ref_totlen()instead.
Hi, I implemented this once and AFAIR, yes, it was enough.
--
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.
More information about the linux-mtd
mailing list