mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
Btrfs: use normal return path for root == send_root case
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>
This commit is contained in:
parent
35075bb046
commit
52f9e53ede
1 changed files with 0 additions and 6 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue