summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason2007-03-27 12:33:00 +0200
committerDavid Woodhouse2007-03-27 12:33:00 +0200
commit6407bf6d7c449cbfb0a39d985194e265eda3baf4 (patch)
tree29b7226d36b1fbbe2a6bed134ddc3f8d98853bb2 /fs/btrfs/ctree.h
parentbtrfs_get_block, file read/write (diff)
downloadkernel-qcow2-linux-6407bf6d7c449cbfb0a39d985194e265eda3baf4.tar.gz
kernel-qcow2-linux-6407bf6d7c449cbfb0a39d985194e265eda3baf4.tar.xz
kernel-qcow2-linux-6407bf6d7c449cbfb0a39d985194e265eda3baf4.zip
Btrfs: reference counts on data extents
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 7b7120d3ab42..1a98952e0faf 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -9,10 +9,11 @@ struct btrfs_transaction;
#define BTRFS_MAGIC "_BtRfS_M"
-#define BTRFS_ROOT_TREE_OBJECTID 1
-#define BTRFS_EXTENT_TREE_OBJECTID 2
-#define BTRFS_INODE_MAP_OBJECTID 3
-#define BTRFS_FS_TREE_OBJECTID 4
+#define BTRFS_ROOT_TREE_OBJECTID 1ULL
+#define BTRFS_EXTENT_TREE_OBJECTID 2ULL
+#define BTRFS_INODE_MAP_OBJECTID 3ULL
+#define BTRFS_FS_TREE_OBJECTID 4ULL
+#define BTRFS_FIRST_FREE_OBJECTID 5ULL
/*
* we can actually store much bigger names, but lets not confuse the rest