mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
79c8264e44
commit
c1499166d1
2 changed files with 9 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue