Skip to content
Commit 1330593e authored by Vignesh Babu's avatar Vignesh Babu Committed by Theodore Ts'o
Browse files

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: default avatarVignesh Babu <vignesh.babu@wipro.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent fc0e15a6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment