remove totlen from jffs2_raw_node_ref
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
Signature · 1 line
Pierre Ricadat
Quoted 7 lines · [email protected] wrote:
Hi'
I'm trying to remove totlen from
jffs2_raw_node_refstructure.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
Quoted 8 lines
- create a
jffs2_raw_node_refstructure even for the dirty nodes (inscan.c:
caseJFFS2_NODETYPE_CLEANMARKER, line 632)- create a
jffs2_raw_node_reffor the obsolete nodes we add to wasted (inscan.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.
Signature · 3 lines
Best Regards, Artem B. Bityutskiy, St.-Petersburg, Russia.