summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r--fs/btrfs/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index c6c10a43153c..db051d17b0be 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -3206,8 +3206,8 @@ static int process_all_refs(struct send_ctx *sctx,
found_key.type != key.type)
break;
- ret = iterate_inode_ref(sctx, sctx->parent_root, path,
- &found_key, 0, cb, sctx);
+ ret = iterate_inode_ref(sctx, root, path, &found_key, 0, cb,
+ sctx);
btrfs_release_path(path);
if (ret < 0)
goto out;
OpenPOWER on IntegriCloud