diff options
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r-- | fs/btrfs/tree-log.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 8df719a73d82..cf618cc8b34a 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c | |||
@@ -460,8 +460,7 @@ insert: | |||
460 | ins.objectid, ins.offset, | 460 | ins.objectid, ins.offset, |
461 | path->nodes[0]->start, | 461 | path->nodes[0]->start, |
462 | root->root_key.objectid, | 462 | root->root_key.objectid, |
463 | trans->transid, | 463 | trans->transid, key->objectid); |
464 | key->objectid, key->offset); | ||
465 | } else { | 464 | } else { |
466 | /* | 465 | /* |
467 | * insert the extent pointer in the extent | 466 | * insert the extent pointer in the extent |
@@ -471,7 +470,7 @@ insert: | |||
471 | path->nodes[0]->start, | 470 | path->nodes[0]->start, |
472 | root->root_key.objectid, | 471 | root->root_key.objectid, |
473 | trans->transid, key->objectid, | 472 | trans->transid, key->objectid, |
474 | key->offset, &ins); | 473 | &ins); |
475 | BUG_ON(ret); | 474 | BUG_ON(ret); |
476 | } | 475 | } |
477 | } | 476 | } |
@@ -2534,8 +2533,7 @@ static noinline int copy_items(struct btrfs_trans_handle *trans, | |||
2534 | dst_path->nodes[0]->start, | 2533 | dst_path->nodes[0]->start, |
2535 | BTRFS_TREE_LOG_OBJECTID, | 2534 | BTRFS_TREE_LOG_OBJECTID, |
2536 | trans->transid, | 2535 | trans->transid, |
2537 | ins_keys[i].objectid, | 2536 | ins_keys[i].objectid); |
2538 | ins_keys[i].offset); | ||
2539 | BUG_ON(ret); | 2537 | BUG_ON(ret); |
2540 | } | 2538 | } |
2541 | } | 2539 | } |