diff options
author | David Sterba <dsterba@suse.com> | 2023-09-12 02:09:23 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 17:44:14 +0300 |
commit | 99be1a66e1fe6c62fbd7c1b0c50ea38c33ffdd5a (patch) | |
tree | 4d83e0ee8336713d3455a43aac36159cb2d5e74b /scripts/Makefile.modinst | |
parent | 6422b4cd959d4b796146c4b7746c26eb17783579 (diff) | |
download | linux-99be1a66e1fe6c62fbd7c1b0c50ea38c33ffdd5a.tar.xz |
btrfs: add specific helper for range bit test exists
The existing helper test_range_bit works in two ways, checks if the whole
range contains all the bits, or stop on the first occurrence. By adding
a specific helper for the latter case, the inner loop can be simplified
and contains fewer conditionals, making it a bit faster.
There's no caller that uses the cached state pointer so this reduces the
argument count further.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.modinst')
0 files changed, 0 insertions, 0 deletions