diff options
| author | David Sterba <[email protected]> | 2019-10-01 17:40:15 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-11-18 11:46:50 +0000 |
| commit | 79c8264e443471eb2748c93680acce54d14d2225 (patch) | |
| tree | 380f4761db1fe9933d8c3dfd84e4b5282c7a533c /fs/btrfs/async-thread.c | |
| parent | btrfs: balance: use term redundancy instead of integrity in message (diff) | |
| download | kernel-79c8264e443471eb2748c93680acce54d14d2225.tar.gz kernel-79c8264e443471eb2748c93680acce54d14d2225.zip | |
btrfs: add 64bit safe helper for power of two checks
As is_power_of_two takes unsigned long, it's not safe on 32bit
architectures, but we could pass any u64 value in seveal places. Add a
separate helper and also an alias that better expresses the purpose for
which the helper is used.
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
