diff options
author | 2019-10-01 19:44:42 +0200 | |
---|---|---|
committer | 2019-11-18 12:46:50 +0100 | |
commit | c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6 (patch) | |
tree | cae2b40f5c2854fbfc478d7399c40102699c6cfb /fs/btrfs/tree-log.c | |
parent | btrfs: add 64bit safe helper for power of two checks (diff) | |
download | wireguard-linux-c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6.tar.xz wireguard-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 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions