diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-30 15:25:45 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-30 15:25:45 -0400 |
commit | 31f3c99b73483f7b738a886c552050cbd6128ff3 (patch) | |
tree | 35c961e01b8fe25525b9ac4a691fd931ac1dbe59 /fs/btrfs/transaction.c | |
parent | 308535a05e4c39d2be26e0aeee722682deeb6f77 (diff) |
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, | |||
77 | h->transaction = root->fs_info->running_transaction; | 77 | h->transaction = root->fs_info->running_transaction; |
78 | h->blocks_reserved = num_blocks; | 78 | h->blocks_reserved = num_blocks; |
79 | h->blocks_used = 0; | 79 | h->blocks_used = 0; |
80 | h->block_group = NULL; | ||
80 | root->fs_info->running_transaction->use_count++; | 81 | root->fs_info->running_transaction->use_count++; |
81 | mutex_unlock(&root->fs_info->trans_mutex); | 82 | mutex_unlock(&root->fs_info->trans_mutex); |
82 | h->magic = h->magic2 = TRANS_MAGIC; | 83 | h->magic = h->magic2 = TRANS_MAGIC; |