aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
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 /fs/btrfs/dev-replace.c
parent79c8264e443471eb2748c93680acce54d14d2225 (diff)
downloadlinux-c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6.tar.gz
linux-c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6.tar.bz2
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/dev-replace.c')
0 files changed, 0 insertions, 0 deletions