[JFFS2] Finally eliminate __totlen field from struct jffs2_raw_node_ref
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 21 May 2006 12:29:11 +0000 (13:29 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 21 May 2006 12:29:11 +0000 (13:29 +0100)
Well, almost. We'll actually keep a 'TEST_TOTLEN' macro set for now, and keep
doing some paranoia checks to make sure it's all working correctly. But if
TEST_TOTLEN is unset, the size of struct jffs2_raw_node_ref drops from 16
bytes to 12 on 32-bit machines. That's a saving of about half a megabyte of
memory on the OLPC prototype board, with 125K or so nodes in its 512MiB of
flash.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

No differences found