Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128637
b: refs/heads/master
c: 5a01a2e
h: refs/heads/master
i:
  128635: 3c65a2e
v: v3
  • Loading branch information
Chris Mason committed Sep 25, 2008
1 parent ce1869b commit 0dbfc80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: b3236e68bf86b3ae87f58984a1822369225211cb
refs/heads/master: 5a01a2e3a9d4dc9cb4871dde4d832a3b8de9f748
5 changes: 4 additions & 1 deletion trunk/fs/btrfs/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2443,13 +2443,16 @@ int btrfs_insert_empty_items(struct btrfs_trans_handle *trans,
btrfs_mark_buffer_dirty(leaf);

ret = 0;
if (slot == 0)
if (slot == 0) {
btrfs_cpu_key_to_disk(&disk_key, cpu_key);
ret = fixup_low_keys(trans, root, path, &disk_key, 1);
}

if (btrfs_leaf_free_space(root, leaf) < 0) {
btrfs_print_leaf(root, leaf);
BUG();
}

out:
return ret;
}
Expand Down

0 comments on commit 0dbfc80

Please sign in to comment.