diff options
| author | Naohiro Aota <naota@elisp.net> | 2023-04-26 00:19:40 +0900 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:22 +0200 |
| commit | b5345d6ceeee3ef378e4800f538c8fc06bf9de48 (patch) | |
| tree | b18d51ae01d19560f45c6e7cfc4c884ea46cc65d /fs/btrfs/print-tree.c | |
| parent | btrfs: tag as unlikely the key comparison when checking sibling keys (diff) | |
| download | linux-b5345d6ceeee3ef378e4800f538c8fc06bf9de48.tar.gz linux-b5345d6ceeee3ef378e4800f538c8fc06bf9de48.zip | |
btrfs: export bitmap_test_range_all_{set,zero}
bitmap_test_range_all_{set,zero} defined in subpage.c are useful for other
components. Move them to misc.h and use them in zoned.c. Also, as
find_next{,_zero}_bit take/return "unsigned long" instead of "unsigned
int", convert the type to "unsigned long".
While at it, also rewrite the "if (...) return true; else return false;"
pattern and add const to the input bitmap.
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
0 files changed, 0 insertions, 0 deletions
