Home Home > GIT Browse > SLE15-SP1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2012-03-24 01:11:53 +0100
committerDavid Sterba <dsterba@suse.cz>2012-03-24 01:11:53 +0100
commitc10f0ad9fdbe0b4a7d5b27aab94a1e94f1c2e24d (patch)
treee685f21104cbd8791b7e84326518c5d3409713bd
parentd3201337cb0874497a29b8c295bf4a9ced378e1c (diff)
Revert "Btrfs: increase the global block reserve estimates"rpm-3.3.0-2--openSUSE-12.2-Milestone3rpm-3.3.0-2
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 923d510ef66e..fd338bc780f8 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -4153,7 +4153,7 @@ static u64 calc_global_metadata_size(struct btrfs_fs_info *fs_info)
num_bytes += div64_u64(data_used + meta_used, 50);
if (num_bytes * 3 > meta_used)
- num_bytes = div64_u64(meta_used, 3) * 2;
+ num_bytes = div64_u64(meta_used, 3);
return ALIGN(num_bytes, fs_info->extent_root->leafsize << 10);
}