Skip to content
Commit 6f3c3f0a authored by vignesh babu's avatar vignesh babu Committed by Alasdair G Kergon
Browse files

dm: use is_power_of_2



Replacing n & (n - 1) for power of 2 check by is_power_of_2(n)

Signed-off-by: default avatarvignesh babu <vignesh.babu@wipro.com>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent ae9da83f
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