aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 95aee5a29375..f94794a99329 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -315,8 +315,8 @@ struct btrfs_block_group_cache *btrfs_find_block_group(struct btrfs_root *root,
315 block_group_cache = &info->block_group_cache; 315 block_group_cache = &info->block_group_cache;
316 total_fs_bytes = btrfs_super_total_bytes(&root->fs_info->super_copy); 316 total_fs_bytes = btrfs_super_total_bytes(&root->fs_info->super_copy);
317 317
318 if (!owner) 318 if (data & BTRFS_BLOCK_GROUP_METADATA)
319 factor = 10; 319 factor = 9;
320 320
321 bit = block_group_state_bits(data); 321 bit = block_group_state_bits(data);
322 322