From: Tao Ma Date: Sun, 19 Sep 2010 05:42:28 +0000 (+0800) Subject: ocfs2: Move 'wanted' into parens of ocfs2_resmap_resv_bits. X-Git-Tag: v2.6.36-rc6~36^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a452de4fdfe4dbb27e491904d8bfaf1262bdff4;p=pandora-kernel.git ocfs2: Move 'wanted' into parens of ocfs2_resmap_resv_bits. The first time I read the function ocfs2_resmap_resv_bits, I consider about what 'wanted' will be used and consider about the comments. Then I find it is only used if the reservation is empty. ;) So we'd better move it to the parens so that it make the code more readable, what's more, ocfs2_resmap_resv_bits is used so frequently and we should save some cpus. Acked-by: Mark Fasheh Signed-off-by: Tao Ma Signed-off-by: Joel Becker --- Reading git-diff-tree failed