]> err.no Git - linux-2.6/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)
commit3fc74269c8910573a0e9a7bc303752194ce5cae0
treeebe371367d6438a88d13c6d2ebb6157fecb24632
parent681dcd95431e2258c1174602fcd69393e4139959
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