summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-03-24 15:05:44 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-03-24 15:05:44 -0400
commit0dcfa3b8270f38edacee1c62f308129c36073d0c (patch)
tree74e084b5cceed48161b5ca1508a88afd6f8ca8b1 /ctree.h
parent26afd0f31d59853f51120622b0121cdfc72cd398 (diff)
Walk all block devices looking for btrfs
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ctree.h b/ctree.h
index 55d2961d..5ce7df03 100644
--- a/ctree.h
+++ b/ctree.h
@@ -27,7 +27,7 @@
struct btrfs_root;
struct btrfs_trans_handle;
-#define BTRFS_MAGIC "_B4RfS_M"
+#define BTRFS_MAGIC "_B5RfS_M"
#define BTRFS_MAX_LEVEL 8
@@ -437,6 +437,7 @@ struct btrfs_extent_ops {
};
struct btrfs_device;
+struct btrfs_fs_devices;
struct btrfs_fs_info {
u8 fsid[BTRFS_FSID_SIZE];
struct btrfs_root *fs_root;
@@ -466,7 +467,7 @@ struct btrfs_fs_info {
struct btrfs_extent_ops *extent_ops;
struct list_head dirty_cowonly_roots;
- struct list_head devices;
+ struct btrfs_fs_devices *fs_devices;
struct list_head space_info;
int fp;
int force_system_allocs;