Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128275
b: refs/heads/master
c: eaee50e
h: refs/heads/master
i:
  128273: 87605c2
  128271: 67965a4
v: v3
  • Loading branch information
Chris Mason authored and David Woodhouse committed Mar 13, 2007
1 parent 780eb8c commit f4cc128
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 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: 9aca1d51323c0291a7358e0728b64ec4f17d1a77
refs/heads/master: eaee50e881b88766d9a781c54c4142456cf5e527
2 changes: 0 additions & 2 deletions trunk/fs/btrfs/TODO
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
* cleanup, add more error checking, get rid of BUG_ONs
* endian fixes
* Make IO functions look more like the page cache
* Fix ENOSPC handling
* make blocksize a mkfs parameter instead of #define
* make a real mkfs and superblock
* Add shadowing and transactions
* Do checksumming
* Define FS objects in terms of different item types
* Add block mapping tree (simple dm layer)
Expand Down
9 changes: 9 additions & 0 deletions trunk/fs/btrfs/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,15 @@ static int split_leaf(struct btrfs_root *root, struct btrfs_path *path,
int ret;
int wret;

wret = push_leaf_left(root, path, data_size);
if (wret < 0)
return wret;
if (wret) {
wret = push_leaf_right(root, path, data_size);
if (wret < 0)
return wret;
}

l_buf = path->nodes[0];
l = &l_buf->leaf;

Expand Down

0 comments on commit f4cc128

Please sign in to comment.