diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-01-26 13:42:49 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-01-26 13:42:49 +0100 |
commit | fd47b693c3c694da8210b5a0c01b1e379f4d9865 (patch) | |
tree | 84d8c5596df7f6eb295ac380b8ddb983af6c906d /fs/btrfs/extent-tree.c | |
parent | Merge branch 'iommu/next' of git://linuxtv.org/pinchartl/fbdev into arm/renesas (diff) | |
parent | Merge branch 'for-joerg/arm-smmu/updates' of git://git.kernel.org/pub/scm/lin... (diff) | |
download | linux-fd47b693c3c694da8210b5a0c01b1e379f4d9865.tar.xz linux-fd47b693c3c694da8210b5a0c01b1e379f4d9865.zip |
Merge branch 'arm/smmu' into arm/renesas
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 15116585e714..a684086c3c81 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -9422,7 +9422,6 @@ int btrfs_remove_block_group(struct btrfs_trans_handle *trans, * are still on the list after taking the semaphore */ list_del_init(&block_group->list); - list_del_init(&block_group->ro_list); if (list_empty(&block_group->space_info->block_groups[index])) { kobj = block_group->space_info->block_group_kobjs[index]; block_group->space_info->block_group_kobjs[index] = NULL; @@ -9464,6 +9463,7 @@ int btrfs_remove_block_group(struct btrfs_trans_handle *trans, btrfs_remove_free_space_cache(block_group); spin_lock(&block_group->space_info->lock); + list_del_init(&block_group->ro_list); block_group->space_info->total_bytes -= block_group->key.offset; block_group->space_info->bytes_readonly -= block_group->key.offset; block_group->space_info->disk_total -= block_group->key.offset * factor; |