btrfs: rename clean_io_failure and remove extraneous args
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Sep 2022 21:53:14 +0000 (17:53 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:02 +0000 (12:28 +0200)
commit0d0a762c419a98dcf40db20b7f2681d7b7191d46
tree4888f0c9fc447489f24c7ca184ba675a71016bf5
parent748f553c3c4c4f175c6c834358632aff802d72cf
btrfs: rename clean_io_failure and remove extraneous args

This is exported, so rename it to btrfs_clean_io_failure.  Additionally
we are passing in the io tree's and such from the inode, so instead of
doing all that simply pass in the inode itself and get all the
components we need directly inside of btrfs_clean_io_failure.

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/compression.c
fs/btrfs/extent-io-tree.h
fs/btrfs/extent_io.c
fs/btrfs/inode.c