summaryrefslogtreecommitdiff
path: root/root-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-22 14:37:48 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-22 14:37:48 -0400
commitc3bbf0c093f35f75169f01c31b0c0d86e04145d9 (patch)
tree599ece6bd3fc6dbb22ba2cb0f59aed2d2ee60048 /root-tree.c
parent4e5ca58de0ea5befe964f88f2833e1acff594a09 (diff)
disk format updates for finding dead roots
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 25701589..d0cabeda 100644
--- a/root-tree.c
+++ b/root-tree.c
@@ -35,7 +35,7 @@ int btrfs_find_last_root(struct btrfs_root *root, u64 objectid,
search_key.objectid = objectid;
search_key.flags = (u32)-1;
- search_key.offset = (u32)-1;
+ search_key.offset = (u64)-1;
btrfs_init_path(&path);
ret = btrfs_search_slot(NULL, root, &search_key, &path, 0, 0);