Skip to content
Commit d8ea6cf8 authored by vignesh babu's avatar vignesh babu Committed by Linus Torvalds
Browse files

ext2/4: use is_power_of_2()



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

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 avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3befe7ce
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