summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-io-tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-09 17:53:14 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:02 +0200
commit0d0a762c419a98dcf40db20b7f2681d7b7191d46 (patch)
tree4888f0c9fc447489f24c7ca184ba675a71016bf5 /fs/btrfs/extent-io-tree.h
parent748f553c3c4c4f175c6c834358632aff802d72cf (diff)
downloadlinux-0d0a762c419a98dcf40db20b7f2681d7b7191d46.tar.gz
linux-0d0a762c419a98dcf40db20b7f2681d7b7191d46.tar.bz2
linux-0d0a762c419a98dcf40db20b7f2681d7b7191d46.zip
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>
Diffstat (limited to 'fs/btrfs/extent-io-tree.h')
-rw-r--r--fs/btrfs/extent-io-tree.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/extent-io-tree.h b/fs/btrfs/extent-io-tree.h
index ec2f8b8e6faa..bb71b4a69022 100644
--- a/fs/btrfs/extent-io-tree.h
+++ b/fs/btrfs/extent-io-tree.h
@@ -256,9 +256,7 @@ void btrfs_free_io_failure_record(struct btrfs_inode *inode, u64 start,
int free_io_failure(struct extent_io_tree *failure_tree,
struct extent_io_tree *io_tree,
struct io_failure_record *rec);
-int clean_io_failure(struct btrfs_fs_info *fs_info,
- struct extent_io_tree *failure_tree,
- struct extent_io_tree *io_tree, u64 start,
- struct page *page, u64 ino, unsigned int pg_offset);
+int btrfs_clean_io_failure(struct btrfs_inode *inode, u64 start,
+ struct page *page, unsigned int pg_offset);
#endif /* BTRFS_EXTENT_IO_TREE_H */