Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200357
b: refs/heads/master
c: 676e4c8
h: refs/heads/master
i:
  200355: d0d7d0b
v: v3
  • Loading branch information
Dan Carpenter authored and Chris Mason committed Jun 11, 2010
1 parent c44cbc1 commit ae7b1b9
Show file tree
Hide file tree
Showing 2 changed files with 6 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: fb4f6f910ca6f58564c31a680ef88940d8192713
refs/heads/master: 676e4c86391936795c82ccd11ca9671ee6307936
7 changes: 5 additions & 2 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1941,8 +1941,11 @@ struct btrfs_root *open_ctree(struct super_block *sb,
btrfs_level_size(tree_root,
btrfs_super_log_root_level(disk_super));

log_tree_root = kzalloc(sizeof(struct btrfs_root),
GFP_NOFS);
log_tree_root = kzalloc(sizeof(struct btrfs_root), GFP_NOFS);
if (!log_tree_root) {
err = -ENOMEM;
goto fail_trans_kthread;
}

__setup_root(nodesize, leafsize, sectorsize, stripesize,
log_tree_root, fs_info, BTRFS_TREE_LOG_OBJECTID);
Expand Down

0 comments on commit ae7b1b9

Please sign in to comment.