Btrfs: more allocator enhancements
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
committed by
David Woodhouse
parent
be08c1b9f8
commit
be74417553
@@ -811,7 +811,7 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,
|
||||
return ERR_PTR(-ENOMEM);
|
||||
|
||||
BTRFS_I(inode)->root = root;
|
||||
group = btrfs_find_block_group(root, group, 0);
|
||||
group = btrfs_find_block_group(root, group, 0, 0);
|
||||
BTRFS_I(inode)->block_group = group;
|
||||
|
||||
inode->i_uid = current->fsuid;
|
||||
|
Reference in New Issue
Block a user