Files
linux/fs
Josef Bacik cdca85b092 btrfs: use find_first_extent_bit in btrfs_clean_io_failure
Currently we're using find_first_extent_bit_state to check if our state
contains the given failrec range, however this is more of an internal
extent_io_tree helper, and is technically unsafe to use because we're
accessing the state outside of the extent_io_tree lock.

Instead use the normal helper find_first_extent_bit which returns the
range of the extent state we find in find_first_extent_bit_state and use
that to do our sanity checking.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-09-26 12:28:02 +02:00
..
2022-07-02 18:52:21 +09:00
2022-09-14 04:00:06 -05:00
2022-06-29 08:51:06 -04:00
2022-05-09 16:21:45 -04:00
2022-07-26 13:38:47 +02:00
2022-05-09 16:21:46 -04:00
2022-05-23 20:24:12 -05:00
2022-07-16 09:19:15 -04:00
2022-07-24 18:39:10 -06:00
2022-06-28 13:58:05 -04:00
2022-05-22 21:03:01 +01:00