projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8347fa
)
Btrfs: pass root instead of parent_root to iterate_inode_ref
author
Alexander Block
<ablock84@googlemail.com>
Wed, 1 Aug 2012 12:42:14 +0000
(14:42 +0200)
committer
Chris Mason
<chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:58 +0000
(15:18 -0400)
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>
fs/btrfs/send.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/send.c
b/fs/btrfs/send.c
index c6c10a43153cfb0fb5a650346787dc3aff95d64c..db051d17b0beb60b5c2350eb954eaba4b395be66 100644
(file)
--- 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;