Skip to content
Commit c1499166 authored by David Sterba's avatar David Sterba
Browse files

btrfs: use has_single_bit_set for clarity



Replace is_power_of_2 with the helper that is self-documenting and
remove the open coded call in alloc_profile_is_valid.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 79c8264e
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