ext2/4: use is_power_of_2()
authorvignesh babu <vignesh.babu@wipro.com>
Wed, 17 Oct 2007 06:27:14 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:53 +0000 (08:42 -0700)
commitd8ea6cf89991000ae458e34e36379814cf202555
tree267324741b51696f4e5642ff4f53746cee78e4cc
parent3befe7ceb8d39a56a9ea55dd2da8b4bd9ddcdd36
ext2/4: use is_power_of_2()

Replace n & (n - 1) with is_power_of_2(n)

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