Skip to content
Commit 893fe243 authored by David Sterba's avatar David Sterba
Browse files

btrfs: change test_range_bit to scan the whole range



The semantics of test_range_bit() with filled == 0 is now in it's own
helper so test_range_bit will check the whole range unconditionally.
The detection logic is flipped and assumes success by default and
catches exceptions.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 99be1a66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment