diff options
author | Alexander Block <ablock84@googlemail.com> | 2012-08-01 08:42:14 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 15:18:58 -0400 |
commit | 2f28f4787c0fc37c508cfb6b7b11c00ce5072940 (patch) | |
tree | 10d03e8665e6cf34ed8ba41ebe19780e6c452d9e /fs/btrfs/send.c | |
parent | d8347fa444c682dc8a1e24e7158bfa2dd4c9ca71 (diff) |
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>
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r-- | fs/btrfs/send.c | 4 |
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, | |||
3206 | found_key.type != key.type) | 3206 | found_key.type != key.type) |
3207 | break; | 3207 | break; |
3208 | 3208 | ||
3209 | ret = iterate_inode_ref(sctx, sctx->parent_root, path, | 3209 | ret = iterate_inode_ref(sctx, root, path, &found_key, 0, cb, |
3210 | &found_key, 0, cb, sctx); | 3210 | sctx); |
3211 | btrfs_release_path(path); | 3211 | btrfs_release_path(path); |
3212 | if (ret < 0) | 3212 | if (ret < 0) |
3213 | goto out; | 3213 | goto out; |