From 4701f523907753a54270a657d40f16f06b3c23c4 Mon Sep 17 00:00:00 2001 From: Goffredo Baroncelli Date: Thu, 13 Feb 2014 20:19:44 +0100 Subject: btrfs-progs: Allow use of get_device_info() Allow the use of get_device_info() for different units. Signed-off-by: Goffredo Baroncelli Signed-off-by: David Sterba Signed-off-by: Chris Mason --- utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils.h') diff --git a/utils.h b/utils.h index 888ebe89..3c62066a 100644 --- a/utils.h +++ b/utils.h @@ -98,5 +98,7 @@ int lookup_ino_rootid(int fd, u64 *rootid); int btrfs_scan_lblkid(int update_kernel); int get_btrfs_mount(const char *dev, char *mp, size_t mp_size); int find_mount_root(const char *path, char **mount_root); +int get_device_info(int fd, u64 devid, + struct btrfs_ioctl_dev_info_args *di_args); #endif -- cgit v1.2.3