From: Coly Li Date: Thu, 24 Feb 2011 17:51:59 +0000 (-0500) Subject: ext4: code cleanup in mb_find_buddy() X-Git-Tag: v2.6.39-rc1~73^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b775a354f640736176b5d966408fc5d5da6665;p=pandora-kernel.git ext4: code cleanup in mb_find_buddy() Current code calculate max no matter whether order is zero, it's unnecessary. This cleanup patch sets max to "1 << (e4b->bd_blkbits + 3)" only when order == 0. Signed-off-by: Coly Li Cc: Alex Tomas Cc: Theodore Tso --- Reading git-diff-tree failed