diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2017-06-13 17:19:30 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-07-12 17:53:41 +0200 |
commit | 5b4c9ccce9b6f9a94431f1a571e2299f46c74bf6 (patch) | |
tree | fb3a61fcf9c2a41330e2dd9ba4f3b3d7845bcd6b /volumes.h | |
parent | de5d0cea24a716d0fa9fcab6b9cae858fadd8568 (diff) |
btrfs-progs: Refactor btrfs_read_sys_array/chunk_tree 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 'volumes.h')
-rw-r--r-- | volumes.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -204,8 +204,8 @@ static inline int btrfs_next_bg_system(struct btrfs_fs_info *fs_info, int btrfs_rmap_block(struct btrfs_fs_info *fs_info, u64 chunk_start, u64 physical, u64 devid, u64 **logical, int *naddrs, int *stripe_len); -int btrfs_read_sys_array(struct btrfs_root *root); -int btrfs_read_chunk_tree(struct btrfs_root *root); +int btrfs_read_sys_array(struct btrfs_fs_info *fs_info); +int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info); int btrfs_alloc_chunk(struct btrfs_trans_handle *trans, struct btrfs_root *extent_root, u64 *start, u64 *num_bytes, u64 type); |