ext4: Use is_power_of_2()
commit1330593eb2d055bdd6ed935886cf2c13c896b288
authorVignesh Babu <vignesh.babu@wipro.com>
Wed, 18 Jul 2007 13:11:02 +0000 (18 09:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 Jul 2007 13:11:02 +0000 (18 09:11 -0400)
treee4e73798e07758eb029625fc04c82385ec6749ee
parentfc0e15a667121e02686cc52679f6272959fb60cc
ext4: Use is_power_of_2()

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: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c