]> git.baikalelectronics.ru Git - kernel.git/commit
is_power_of_2: ext3/super.c
authorvignesh babu <vignesh.babu@wipro.com>
Mon, 16 Jul 2007 06:41:17 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:48 +0000 (09:05 -0700)
commit50caa1c616056aa19eb0cc561a1e513852813a1f
treeebe371367d6438a88d13c6d2ebb6157fecb24632
parent78c65e830be3ce766b076fd77b4ff32e06eca4d1
is_power_of_2: ext3/super.c

Replace (n & (n-1)) in the context of power of 2 checks with is_power_of_2()

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/super.c