diff options
Diffstat (limited to 'root-tree.c')
-rw-r--r-- | root-tree.c | 2 |
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(); |