diff options
| author | David Sterba <[email protected]> | 2019-10-01 17:44:42 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-11-18 11:46:50 +0000 |
| commit | c1499166d10ae734b5ec5cc7982bd9b9ee7f9fe6 (patch) | |
| tree | cae2b40f5c2854fbfc478d7399c40102699c6cfb /fs/btrfs/async-thread.c | |
| parent | btrfs: add 64bit safe helper for power of two checks (diff) | |
| download | kernel-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
