question about placement of JFFS2_SB_FLAG_MOUNTING flag.

Per Hedblom per.hedblom at abem.se
Mon Dec 20 09:15:20 EST 2004


My jffs2 stops running during mount at "pass 2a" in jffs2_build_filesystem
at the first call to jffs2_mark_node_obsolete .

The D1 printout is:
------------------------------------
<7>Pass 2: ino #91, nlink 1, ic 0x02247af8, nodes 0x022360c8
<7>Pass 2: ino #92, nlink 0, ic 0x022476f0, nodes 0x02224338
<7>JFFS2: Removing ino #92 with nlink == zero.
<7>obsoleting node at 0x0007b720
<7>Obsoleting node at 0x0007b720 of len 30: Wasting
<7>obliterating obsoleted node at 0x0007b720
------------------------------------

My question is if it correct that this "Pass 2a" should be executed with the
JFFS2_SB_FLAG_MOUNTING flag off. I can make the code run by moving the place
were JFFS2_SB_FLAG_MOUNTING is turned off to after Pass 2a. 

I am using eCos with mtd cvs updated jffs2 source code.
/Per







More information about the linux-mtd mailing list