Btrfs: Pass fs_info to btrfs_num_copies() instead of mapping_tree
[linux-2.6-block.git] / fs / btrfs / volumes.h
index 657bb12b306999b9b43df3115e9816cb4a145bdd..35ea4424963b6d8ca5e77e975570410eb3e0aeda 100644 (file)
@@ -278,7 +278,7 @@ int btrfs_add_device(struct btrfs_trans_handle *trans,
                     struct btrfs_device *device);
 int btrfs_rm_device(struct btrfs_root *root, char *device_path);
 void btrfs_cleanup_fs_uuids(void);
-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);
 int btrfs_grow_device(struct btrfs_trans_handle *trans,
                      struct btrfs_device *device, u64 new_size);
 struct btrfs_device *btrfs_find_device(struct btrfs_root *root, u64 devid,