commit | 1417fc44ee923418df3adadeb4846c891bba1ba5 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Sat May 20 16:20:19 2006 +0100 |
committer | David Woodhouse <dwmw2@infradead.org> | Sat May 20 16:20:19 2006 +0100 |
tree | 07e58ced7665ec94dad951175795ed3cbf11513c | |
parent | 9641b784ff82cf0a48a6c70ef9867f5fd728de67 [diff] |
[JFFS2] Reduce calls to ref_totlen() in jffs2_mark_node_obsolete() We were calling ref_totlen() 18 times. Even before that becomes a real function rather than just a dereference, apparently some compilers still suck anyway. It'll _certainly_ suck after ref_totlen() becomes more complicated, so calculate it once and don't rely on CSE. Signed-off-by: David Woodhouse <dwmw2@infradead.org>