summaryrefslogtreecommitdiff
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@gmail.com>2014-02-05 16:48:55 +0000
committerJosef Bacik <jbacik@fb.com>2014-03-10 15:15:48 -0400
commita0859c0998605d2dc1b021543398cd84a40589db (patch)
treed4873b57b8e43ec66afb9b924de954c78f9cf339 /fs/btrfs/send.c
parent57fb8910c24004ec924103c9a8c8542119f7629a (diff)
Btrfs: use right extent item position in send when finding extent clones
This was a leftover from the commit: 74dd17fbe3d65829e75d84f00a9525b2ace93998 (Btrfs: fix btrfs send for inline items and compression) Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r--fs/btrfs/send.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index bef7ba638dee..89fefbd955f3 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -1288,8 +1288,6 @@ static int find_extent_clone(struct send_ctx *sctx,
extent_item_pos = logical - found_key.objectid;
else
extent_item_pos = 0;
-
- extent_item_pos = logical - found_key.objectid;
ret = iterate_extent_inodes(sctx->send_root->fs_info,
found_key.objectid, extent_item_pos, 1,
__iterate_backrefs, backref_ctx);