diff options
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 88b0752550b6..e64ecec3f52e 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -109,6 +109,8 @@ struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, | |||
109 | h->blocks_reserved = num_blocks; | 109 | h->blocks_reserved = num_blocks; |
110 | h->blocks_used = 0; | 110 | h->blocks_used = 0; |
111 | h->block_group = NULL; | 111 | h->block_group = NULL; |
112 | h->alloc_exclude_nr = 0; | ||
113 | h->alloc_exclude_start = 0; | ||
112 | root->fs_info->running_transaction->use_count++; | 114 | root->fs_info->running_transaction->use_count++; |
113 | mutex_unlock(&root->fs_info->trans_mutex); | 115 | mutex_unlock(&root->fs_info->trans_mutex); |
114 | return h; | 116 | return h; |