summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-10-01 19:44:42 +0200
committerDavid Sterba <dsterba@suse.com>2019-11-18 12:46:50 +0100
commitc1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6 (patch)
treecae2b40f5c2854fbfc478d7399c40102699c6cfb /arch
parentbtrfs: add 64bit safe helper for power of two checks (diff)
downloadlinux-c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6.tar.xz
linux-c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6.zip
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions