aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2019-10-01 17:44:42 +0000
committerDavid Sterba <[email protected]>2019-11-18 11:46:50 +0000
commitc1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6 (patch)
treecae2b40f5c2854fbfc478d7399c40102699c6cfb /fs/btrfs/async-thread.c
parentbtrfs: add 64bit safe helper for power of two checks (diff)
downloadkernel-c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions