diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2017-06-13 17:19:27 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-07-12 17:53:28 +0200 |
commit | a0d9de4e40cc9e0c613826bebb9a9e4a512eb495 (patch) | |
tree | f1fdbdfc8452e59a84a07dcebf7959178cb9140e /disk-io.h | |
parent | bb3ecd59f23b9cef8a657200c7455eb3f320682a (diff) |
btrfs-progs: Refactor write_all_supers and its callers to use btrfs_fs_info
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'disk-io.h')
-rw-r--r-- | disk-io.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |