Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1417fc44 authored by David Woodhouse's avatar David Woodhouse
Browse files

[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: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 9641b784
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment