diff options
-rw-r--r-- | fs/btrfs/free-space-cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 5edcee3a617f..4eb296426061 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c | |||
@@ -403,6 +403,7 @@ static void add_new_bitmap(struct btrfs_block_group_cache *block_group, | |||
403 | BUG_ON(block_group->total_bitmaps >= max_bitmaps); | 403 | BUG_ON(block_group->total_bitmaps >= max_bitmaps); |
404 | 404 | ||
405 | info->offset = offset_to_bitmap(block_group, offset); | 405 | info->offset = offset_to_bitmap(block_group, offset); |
406 | info->bytes = 0; | ||
406 | link_free_space(block_group, info); | 407 | link_free_space(block_group, info); |
407 | block_group->total_bitmaps++; | 408 | block_group->total_bitmaps++; |
408 | 409 | ||