From: David Woodhouse Date: Sat, 20 May 2006 15:20:19 +0000 (+0100) Subject: [JFFS2] Reduce calls to ref_totlen() in jffs2_mark_node_obsolete() X-Git-Tag: v2.6.18-rc1~1105^2~74^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1417fc44ee923418df3adadeb4846c891bba1ba5;p=pandora-kernel.git [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 --- Reading git-diff-tree failed