summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r--fs/btrfs/tree-log.c8
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:
ins.objectid, ins.offset,
path->nodes[0]->start,
root->root_key.objectid,
- trans->transid,
- key->objectid, key->offset);
+ trans->transid, key->objectid);
} else {
/*
* insert the extent pointer in the extent
@@ -471,7 +470,7 @@ insert:
path->nodes[0]->start,
root->root_key.objectid,
trans->transid, key->objectid,
- key->offset, &ins);
+ &ins);
BUG_ON(ret);
}
}
@@ -2534,8 +2533,7 @@ static noinline int copy_items(struct btrfs_trans_handle *trans,
dst_path->nodes[0]->start,
BTRFS_TREE_LOG_OBJECTID,
trans->transid,
- ins_keys[i].objectid,
- ins_keys[i].offset);
+ ins_keys[i].objectid);
BUG_ON(ret);
}
}