diff options
-rw-r--r-- | fs/btrfs/extent-tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 9a489cc89fd3..508df5f7d2ea 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -7486,7 +7486,8 @@ int btrfs_remove_block_group(struct btrfs_trans_handle *trans, | |||
7486 | block_group->space_info->total_bytes -= block_group->key.offset; | 7486 | block_group->space_info->total_bytes -= block_group->key.offset; |
7487 | block_group->space_info->bytes_readonly -= block_group->key.offset; | 7487 | block_group->space_info->bytes_readonly -= block_group->key.offset; |
7488 | spin_unlock(&block_group->space_info->lock); | 7488 | spin_unlock(&block_group->space_info->lock); |
7489 | block_group->space_info->full = 0; | 7489 | |
7490 | btrfs_clear_space_info_full(root->fs_info); | ||
7490 | 7491 | ||
7491 | btrfs_put_block_group(block_group); | 7492 | btrfs_put_block_group(block_group); |
7492 | btrfs_put_block_group(block_group); | 7493 | btrfs_put_block_group(block_group); |