commit | c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Oct 01 19:44:42 2019 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Nov 18 12:46:50 2019 +0100 |
tree | cae2b40f5c2854fbfc478d7399c40102699c6cfb | |
parent | 79c8264e443471eb2748c93680acce54d14d2225 [diff] |
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>