is_power_of_2 in fs/hfs
authorVignesh Babu BM <vignesh.babu@wipro.com>
Tue, 8 May 2007 07:24:30 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:59 +0000 (11:14 -0700)
commite1b5c1d3da05c91129120d045dfcdfc7761f44f1
tree0d29f32fbad55a9cc90b05ef1974103b6afe4ea9
parente7d709c096487078652a1384d7a2d0e4459e18b6
is_power_of_2 in fs/hfs

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>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfs/btree.c
fs/hfsplus/btree.c