diff options
author | Filipe David Borba Manana <fdmanana@gmail.com> | 2014-02-05 11:48:55 -0500 |
---|---|---|
committer | Josef Bacik <jbacik@fb.com> | 2014-03-10 15:15:48 -0400 |
commit | a0859c0998605d2dc1b021543398cd84a40589db (patch) | |
tree | d4873b57b8e43ec66afb9b924de954c78f9cf339 /fs/btrfs/send.c | |
parent | 57fb8910c24004ec924103c9a8c8542119f7629a (diff) |
Btrfs: use right extent item position in send when finding extent clones
This was a leftover from the commit:
74dd17fbe3d65829e75d84f00a9525b2ace93998
(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>
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r-- | fs/btrfs/send.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index bef7ba638dee..89fefbd955f3 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c | |||
@@ -1288,8 +1288,6 @@ static int find_extent_clone(struct send_ctx *sctx, | |||
1288 | extent_item_pos = logical - found_key.objectid; | 1288 | extent_item_pos = logical - found_key.objectid; |
1289 | else | 1289 | else |
1290 | extent_item_pos = 0; | 1290 | extent_item_pos = 0; |
1291 | |||
1292 | extent_item_pos = logical - found_key.objectid; | ||
1293 | ret = iterate_extent_inodes(sctx->send_root->fs_info, | 1291 | ret = iterate_extent_inodes(sctx->send_root->fs_info, |
1294 | found_key.objectid, extent_item_pos, 1, | 1292 | found_key.objectid, extent_item_pos, 1, |
1295 | __iterate_backrefs, backref_ctx); | 1293 | __iterate_backrefs, backref_ctx); |