summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-30 15:25:45 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-30 15:25:45 -0400
commit31f3c99b73483f7b738a886c552050cbd6128ff3 (patch)
tree35c961e01b8fe25525b9ac4a691fd931ac1dbe59 /fs/btrfs/transaction.c
parent308535a05e4c39d2be26e0aeee722682deeb6f77 (diff)
downloadblackbird-op-linux-31f3c99b73483f7b738a886c552050cbd6128ff3.tar.gz
blackbird-op-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.c1
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;
OpenPOWER on IntegriCloud