summaryrefslogtreecommitdiff
path: root/volumes.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-22 14:06:31 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-04-22 14:06:31 -0400
commit358564890ac230ccc8af2661268a6bcb0d6ea18f (patch)
treeaea7067c1cc525b4c443fcb52920f1a34b08a935 /volumes.h
parentb569dafbf2acfb99f8c0546ad28cb61f860f30db (diff)
Add a command to show all of the btrfs filesystems on the box (btrfs-show)
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