summaryrefslogtreecommitdiff
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
authorAlexander Block <ablock84@googlemail.com>2012-07-28 14:32:45 (GMT)
committerChris Mason <chris.mason@fusionio.com>2012-10-01 19:18:50 (GMT)
commit52f9e53ede8e1b261e68216c6c2f32bb3f26c795 (patch)
tree597f4516d94d09638c625b6e0c03ca42cbdf3a8e /fs/btrfs/send.c
parent35075bb046cc91f42a0e5336bdc07f3279061add (diff)
downloadlinux-52f9e53ede8e1b261e68216c6c2f32bb3f26c795.tar.xz
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>
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r--fs/btrfs/send.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 3671112..d2a4ee9 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -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++;