projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f9e53
)
Btrfs: don't break in the final loop of find_extent_clone
author
Alexander Block
<ablock84@googlemail.com>
Sat, 28 Jul 2012 10:51:32 +0000
(12:51 +0200)
committer
Chris Mason
<chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:50 +0000
(15:18 -0400)
If we break, we may miss the clone from send_root which we prefer
over all other clones.
Commit is a result of Arne's review.
Reported-by: Arne Jansen <sensille@gmx.net>
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 d2a4ee9125df84afc685fc49d81d53e481c75439..68b2543e5d6c5639a4263bc82c9ed06e953b2b1f 100644
(file)
--- a/
fs/btrfs/send.c
+++ b/
fs/btrfs/send.c
@@
-1257,7
+1257,6
@@
verbose_printk(KERN_DEBUG "btrfs: find_extent_clone: data_offset=%llu, "
else if (sctx->clone_roots[i].root == sctx->send_root)
/* prefer clones from send_root over others */
cur_clone_root = sctx->clone_roots + i;
- break;
}
}