|
@@ -439,7 +439,7 @@ int btrfs_grow_device(struct btrfs_trans_handle *trans,
|
|
|
struct btrfs_device *btrfs_find_device(struct btrfs_fs_info *fs_info, u64 devid,
|
|
|
u8 *uuid, u8 *fsid);
|
|
|
int btrfs_shrink_device(struct btrfs_device *device, u64 new_size);
|
|
|
-int btrfs_init_new_device(struct btrfs_root *root, char *path);
|
|
|
+int btrfs_init_new_device(struct btrfs_fs_info *fs_info, char *path);
|
|
|
int btrfs_init_dev_replace_tgtdev(struct btrfs_root *root, char *device_path,
|
|
|
struct btrfs_device *srcdev,
|
|
|
struct btrfs_device **device_out);
|