summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
authorFilipe David Borba Manana2014-02-05 17:48:55 +0100
committerJosef Bacik2014-03-10 20:15:48 +0100
commita0859c0998605d2dc1b021543398cd84a40589db (patch)
treed4873b57b8e43ec66afb9b924de954c78f9cf339 /fs/btrfs/send.c
parentbtrfs: send: remove BUG_ON from name_cache_delete (diff)
downloadkernel-qcow2-linux-a0859c0998605d2dc1b021543398cd84a40589db.tar.gz
kernel-qcow2-linux-a0859c0998605d2dc1b021543398cd84a40589db.tar.xz
kernel-qcow2-linux-a0859c0998605d2dc1b021543398cd84a40589db.zip
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);