summaryrefslogtreecommitdiff
path: root/root-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-11-18 10:34:08 -0500
committerChris Mason <chris.mason@oracle.com>2008-11-18 10:34:08 -0500
commit2d9bc57b9ae79ad3648a57b431b9d82e88114132 (patch)
tree18c1d81bb7ab25f20df6b5b062827d5e5a8842a4 /root-tree.c
parent6c771595afad6e04c25b5adaea8ffbbbfe9c728c (diff)
Add disk format requirements for subvol backward and forward refs
Diffstat (limited to 'root-tree.c')
-rw-r--r--root-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root-tree.c b/root-tree.c
index 019216ca..189f82d2 100644
--- a/root-tree.c
+++ b/root-tree.c
@@ -32,7 +32,7 @@ int btrfs_find_last_root(struct btrfs_root *root, u64 objectid,
int slot;
search_key.objectid = objectid;
- search_key.type = (u8)-1;
+ search_key.type = BTRFS_ROOT_ITEM_KEY;
search_key.offset = (u64)-1;
path = btrfs_alloc_path();