Commit 19e56cea authored by David Woodhouse's avatar David Woodhouse

[JFFS2] Finally remove redundant ref->__totlen field.

Haven't had any complaints about it recently, despite having the test
code enabled to verify that the calculated length is correct.

Kill it off, just by #undef TEST_TOTLEN for now; removing it for real
can come a little later.
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 27e6b8e3
...@@ -87,7 +87,7 @@ struct jffs2_raw_node_ref ...@@ -87,7 +87,7 @@ struct jffs2_raw_node_ref
xattr_ref or xattr_datum instead. The common part of those structures xattr_ref or xattr_datum instead. The common part of those structures
has NULL in the first word. See jffs2_raw_ref_to_ic() below */ has NULL in the first word. See jffs2_raw_ref_to_ic() below */
uint32_t flash_offset; uint32_t flash_offset;
#define TEST_TOTLEN #undef TEST_TOTLEN
#ifdef TEST_TOTLEN #ifdef TEST_TOTLEN
uint32_t __totlen; /* This may die; use ref_totlen(c, jeb, ) below */ uint32_t __totlen; /* This may die; use ref_totlen(c, jeb, ) below */
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment