提交 2f28f478 编写于 作者: A Alexander Block 提交者: Chris Mason

Btrfs: pass root instead of parent_root to iterate_inode_ref

We need to pass the root that we determined earlier to iterate_inode_ref.
Reported-by: NAlex Lyakas <alex.bolshoy.btrfs@gmail.com>
Signed-off-by: NAlexander Block <ablock84@googlemail.com>
上级 d8347fa4
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册