From a0d9de4e40cc9e0c613826bebb9a9e4a512eb495 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Tue, 13 Jun 2017 17:19:27 +0800 Subject: btrfs-progs: Refactor write_all_supers and its callers to use btrfs_fs_info Signed-off-by: Qu Wenruo Signed-off-by: David Sterba --- disk-io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'disk-io.h') diff --git a/disk-io.h b/disk-io.h index b834fea4..dfe4cf01 100644 --- a/disk-io.h +++ b/disk-io.h @@ -161,9 +161,9 @@ static inline int close_ctree(struct btrfs_root *root) return close_ctree_fs_info(root->fs_info); } -int write_all_supers(struct btrfs_root *root); +int write_all_supers(struct btrfs_fs_info *fs_info); int write_ctree_super(struct btrfs_trans_handle *trans, - struct btrfs_root *root); + struct btrfs_fs_info *fs_info); int btrfs_read_dev_super(int fd, struct btrfs_super_block *sb, u64 sb_bytenr, unsigned sbflags); int btrfs_map_bh_to_logical(struct btrfs_root *root, struct extent_buffer *bh, -- cgit v1.2.3