Skip to content

Commit

Permalink
Btrfs: use right extent item position in send when finding extent clones
Browse files Browse the repository at this point in the history
This was a leftover from the commit:

   74dd17f
   (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>
  • Loading branch information
Filipe David Borba Manana authored and Josef Bacik committed Mar 10, 2014
1 parent 57fb891 commit a0859c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/btrfs/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a0859c0

Please sign in to comment.