summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-restore.c')
-rw-r--r--cmds-restore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index dcf459ff..eca528dd 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -708,6 +708,7 @@ static int search_dir(struct btrfs_root *root, struct btrfs_key *key,
goto next;
}
+ location.offset = (u64)-1;
search_root = btrfs_read_fs_root(root->fs_info,
&location);
if (IS_ERR(search_root)) {