diff options
author | Chris Mason | 2007-04-30 21:25:45 +0200 |
---|---|---|
committer | David Woodhouse | 2007-04-30 21:25:45 +0200 |
commit | 31f3c99b73483f7b738a886c552050cbd6128ff3 (patch) | |
tree | 35c961e01b8fe25525b9ac4a691fd931ac1dbe59 /fs/btrfs/transaction.c | |
parent | Btrfs: prealloc more blocks for the extent map (diff) | |
download | kernel-qcow2-linux-31f3c99b73483f7b738a886c552050cbd6128ff3.tar.gz kernel-qcow2-linux-31f3c99b73483f7b738a886c552050cbd6128ff3.tar.xz kernel-qcow2-linux-31f3c99b73483f7b738a886c552050cbd6128ff3.zip |
Btrfs: allocator improvements, inode block groups
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index f9b8864dcc40..bdbf514c111f 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -77,6 +77,7 @@ struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, h->transaction = root->fs_info->running_transaction; h->blocks_reserved = num_blocks; h->blocks_used = 0; + h->block_group = NULL; root->fs_info->running_transaction->use_count++; mutex_unlock(&root->fs_info->trans_mutex); h->magic = h->magic2 = TRANS_MAGIC; |