aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/summary.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-20 16:20:19 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-20 16:20:19 +0100
commit1417fc44ee923418df3adadeb4846c891bba1ba5 (patch)
tree07e58ced7665ec94dad951175795ed3cbf11513c /fs/jffs2/summary.h
parent[JFFS2] Optimise reading of eraseblock summary nodes (diff)
downloadlinux-dev-1417fc44ee923418df3adadeb4846c891bba1ba5.tar.xz
linux-dev-1417fc44ee923418df3adadeb4846c891bba1ba5.zip
[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>
Diffstat (limited to 'fs/jffs2/summary.h')
0 files changed, 0 insertions, 0 deletions