Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128927
b: refs/heads/master
c: ad3d81b
h: refs/heads/master
i:
  128925: 08b25ab
  128923: 295321a
  128919: 2a3a5d3
  128911: 7d03e93
  128895: 6316572
v: v3
  • Loading branch information
Christoph Hellwig authored and Chris Mason committed Sep 25, 2008
1 parent 0ee729f commit 24adaab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 50ec891cc54fb865c4c40c45845e60123e0e66ca
refs/heads/master: ad3d81ba8f2880dfa3ee518c779a7ea09a024520
9 changes: 5 additions & 4 deletions trunk/fs/btrfs/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1656,8 +1656,8 @@ static int noinline insert_new_root(struct btrfs_trans_handle *trans,

c = btrfs_alloc_free_block(trans, root, root->nodesize,
root->root_key.objectid,
root_gen, lower_key.objectid, level,
root->node->start, 0);
root_gen, le64_to_cpu(lower_key.objectid),
level, root->node->start, 0);
if (IS_ERR(c))
return PTR_ERR(c);

Expand Down Expand Up @@ -2352,8 +2352,9 @@ static noinline int split_leaf(struct btrfs_trans_handle *trans,

right = btrfs_alloc_free_block(trans, root, root->leafsize,
root->root_key.objectid,
root_gen, disk_key.objectid, 0,
l->start, 0);
root_gen,
le64_to_cpu(disk_key.objectid),
0, l->start, 0);
if (IS_ERR(right)) {
BUG_ON(1);
return PTR_ERR(right);
Expand Down

0 comments on commit 24adaab

Please sign in to comment.