btrfs: move the failrec tree stuff into extent-io-tree.h
authorJosef Bacik <josef@toxicpanda.com>
Mon, 23 Sep 2019 14:05:21 +0000 (10:05 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:47 +0000 (12:46 +0100)
commitb3f167aa6c7053b87fa53364fc40dd4757f053c9
tree7bdadc0a06a9821977d6eb95fc1d2d746125e1d0
parent083e75e7e6a9e24b041ed9cc668dc7a500e31919
btrfs: move the failrec tree stuff into extent-io-tree.h

This needs to be cleaned up in the future, but for now it belongs to the
extent-io-tree stuff since it uses the internal tree search code.
Needed to export get_state_failrec and set_state_failrec as well since
we're not going to move the actual IO part of the failrec stuff out at
this point.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-io-tree.h
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h