summaryrefslogtreecommitdiff
path: root/volumes.h
diff options
context:
space:
mode:
Diffstat (limited to 'volumes.h')
-rw-r--r--volumes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/volumes.h b/volumes.h
index 07d1c0a3..9aec0e3d 100644
--- a/volumes.h
+++ b/volumes.h
@@ -28,6 +28,11 @@ struct btrfs_device {
char *name;
+ /* these are read off the super block, only in the progs */
+ char *label;
+ u64 total_devs;
+ u64 super_bytes_used;
+
/* the internal btrfs device id */
u64 devid;
@@ -109,4 +114,5 @@ int btrfs_scan_one_device(int fd, const char *path,
int btrfs_num_copies(struct btrfs_mapping_tree *map_tree, u64 logical, u64 len);
int btrfs_bootstrap_super_map(struct btrfs_mapping_tree *map_tree,
struct btrfs_fs_devices *fs_devices);
+struct list_head *btrfs_scanned_uuids(void);
#endif