* [JFFS2]remove totlen from jffs2_raw_node_ref
@ 2005-11-11 9:39 Pierre.Ricadat@UTBM.fr
2005-11-11 13:52 ` Artem B. Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Pierre.Ricadat@UTBM.fr @ 2005-11-11 9:39 UTC (permalink / raw)
To: linux-mtd
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.
Is it enough to ensure we can calculate totlen well in every cases?
Thanks
--
Pierre Ricadat
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [JFFS2]remove totlen from jffs2_raw_node_ref
2005-11-11 9:39 [JFFS2]remove totlen from jffs2_raw_node_ref Pierre.Ricadat@UTBM.fr
@ 2005-11-11 13:52 ` Artem B. Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem B. Bityutskiy @ 2005-11-11 13:52 UTC (permalink / raw)
To: Pierre.Ricadat@UTBM.fr; +Cc: linux-mtd
Pierre.Ricadat@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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-11 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-11 9:39 [JFFS2]remove totlen from jffs2_raw_node_ref Pierre.Ricadat@UTBM.fr
2005-11-11 13:52 ` Artem B. Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox