summaryrefslogtreecommitdiff
path: root/volumes.h
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2017-06-13 17:19:29 +0800
committerDavid Sterba <dsterba@suse.com>2017-07-12 17:53:36 +0200
commitde5d0cea24a716d0fa9fcab6b9cae858fadd8568 (patch)
tree2c2b05fee5f048e896ec1d0a52752d88148e3805 /volumes.h
parent505639ee62adf3ec31ba2c7b276d49ecc44c000c (diff)
btrfs-progs: Refactor btrfs_find_device 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/volumes.h b/volumes.h
index d2e9cbc0..8647656f 100644
--- a/volumes.h
+++ b/volumes.h
@@ -236,7 +236,7 @@ int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset);
struct btrfs_device *
btrfs_find_device_by_devid(struct btrfs_fs_devices *fs_devices,
u64 devid, int instance);
-struct btrfs_device *btrfs_find_device(struct btrfs_root *root, u64 devid,
+struct btrfs_device *btrfs_find_device(struct btrfs_fs_info *fs_info, u64 devid,
u8 *uuid, u8 *fsid);
int write_raid56_with_parity(struct btrfs_fs_info *info,
struct extent_buffer *eb,