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:
35075bb
)
Btrfs: use normal return path for root == send_root case
author
Alexander Block
<ablock84@googlemail.com>
Sat, 28 Jul 2012 14:32:45 +0000
(16:32 +0200)
committer
Chris Mason
<chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:50 +0000
(15:18 -0400)
Don't have a seperate return path for the mentioned case. Now
we do the same "take lowest inode/offset" logic for all found clones.
Commit is a result of Arne's review.
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 36711123bdcf071a8db2a9e5d75396207d884b20..d2a4ee9125df84afc685fc49d81d53e481c75439 100644
(file)
--- a/
fs/btrfs/send.c
+++ b/
fs/btrfs/send.c
@@
-1109,12
+1109,6
@@
static int __iterate_backrefs(u64 ino, u64 offset, u64 root, void *ctx_)
return 0;
if (offset + ctx->extent_len > ctx->cur_offset)
return 0;*/
-
- bctx->found++;
- found->found_refs++;
- found->ino = ino;
- found->offset = offset;
- return 0;
}
bctx->found++;