Skip to content

Commit

Permalink
Btrfs: use normal return path for root == send_root case
Browse files Browse the repository at this point in the history
Don't have a seperate return path for the mentioned case. Now
we do the same "take lowest inode/offset" logic for all found clones.

Commit is a result of Arne's review.

Signed-off-by: Alexander Block <ablock84@googlemail.com>
  • Loading branch information
Alexander Block authored and Chris Mason committed Oct 1, 2012
1 parent 35075bb commit 52f9e53
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fs/btrfs/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,12 +1109,6 @@ static int __iterate_backrefs(u64 ino, u64 offset, u64 root, void *ctx_)
return 0;
if (offset + ctx->extent_len > ctx->cur_offset)
return 0;*/

bctx->found++;
found->found_refs++;
found->ino = ino;
found->offset = offset;
return 0;
}

bctx->found++;
Expand Down

0 comments on commit 52f9e53

Please sign in to comment.