diff options
author | Goffredo Baroncelli <kreijack@libero.it> | 2014-02-13 20:19:44 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-03-21 06:23:22 -0700 |
commit | 4701f523907753a54270a657d40f16f06b3c23c4 (patch) | |
tree | e22ccd492db66fc1c7b1d0571f46078f5b5ba089 /utils.h | |
parent | 002d5e14304aae3c4df45b36f99cdeec51a87b4c (diff) |
btrfs-progs: Allow use of get_device_info()
Allow the use of get_device_info() for different units.
Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |