Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0859c09 authored by Filipe David Borba Manana's avatar Filipe David Borba Manana Committed by Josef Bacik
Browse files

Btrfs: use right extent item position in send when finding extent clones



This was a leftover from the commit:

   74dd17fb
   (Btrfs: fix btrfs send for inline items and compression)

Signed-off-by: default avatarFilipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
parent 57fb8910
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);