mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
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: Alex Lyakas <alex.bolshoy.btrfs@gmail.com> Signed-off-by: Alexander Block <ablock84@googlemail.com>
This commit is contained in:
parent
d8347fa444
commit
2f28f4787c
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue