summaryrefslogtreecommitdiff
path: root/disk-io.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-28 09:36:45 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:37 +0200
commita93d51ede72899694867d234b9f10cfee240974d (patch)
treefa14e15f0b5b0ca1704ab1360310da1860af8e4c /disk-io.h
parentebbcc81878bbcaf02df5e4acb7c4210489a946c1 (diff)
btrfs-progs: Remove unused argument from clean_tree_block
This function actually uses only the extent_buffer arg but takes 3 arguments. Furthermore, it's current interface doesn't even mirror the kernel counterpart. Just remove the extra arguments. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'disk-io.h')
-rw-r--r--disk-io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/disk-io.h b/disk-io.h
index c4496155..36fb68cd 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -131,8 +131,7 @@ struct extent_buffer* btrfs_find_create_tree_block(
void btrfs_setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info,
u64 objectid);
-int clean_tree_block(struct btrfs_trans_handle *trans,
- struct btrfs_root *root, struct extent_buffer *buf);
+int clean_tree_block(struct extent_buffer *buf);
void btrfs_free_fs_info(struct btrfs_fs_info *fs_info);
struct btrfs_fs_info *btrfs_new_fs_info(int writable, u64 sb_bytenr);