path: root/volumes.h
diff options
authorQu Wenruo <>2017-06-13 17:19:18 +0800
committerDavid Sterba <>2017-07-12 17:52:15 +0200
commita30579b1a7a73dd547330d4bfade3bee64145ef5 (patch)
tree1e230c1a7c0bc9704d0a8712bbc1f8f0f5169ca8 /volumes.h
parent3e611c698386db7d8ec998caf3ee0ce5b40d1e9b (diff)
btrfs-progs: Refactor btrfs_num_copies to use btrfs_fs_info
Signed-off-by: Qu Wenruo <> Signed-off-by: David Sterba <>
Diffstat (limited to 'volumes.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/volumes.h b/volumes.h
index 59e43161..26d88813 100644
--- a/volumes.h
+++ b/volumes.h
@@ -228,7 +228,7 @@ int btrfs_update_device(struct btrfs_trans_handle *trans,
int btrfs_scan_one_device(int fd, const char *path,
struct btrfs_fs_devices **fs_devices_ret,
u64 *total_devs, u64 super_offset, unsigned sbflags);
-int btrfs_num_copies(struct btrfs_mapping_tree *map_tree, u64 logical, u64 len);
+int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len);
struct list_head *btrfs_scanned_uuids(void);
int btrfs_add_system_chunk(struct btrfs_root *root, struct btrfs_key *key,
struct btrfs_chunk *chunk, int item_size);