Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287903
b: refs/heads/master
c: 5500cdb
h: refs/heads/master
i:
  287901: 26f095b
  287899: 7e9388b
  287895: e332125
  287887: 0ff4123
  287871: 1c4f017
v: v3
  • Loading branch information
Liu Bo authored and Chris Mason committed Feb 23, 2012
1 parent 0aa84cf commit 2193b1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 506531905296d6aee84480c879b25ea98c3f9db6
refs/heads/master: 5500cdbe14d7435e04f66ff3cfb8ecd8b8e44ebf
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -4108,7 +4108,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);
num_bytes = div64_u64(meta_used, 3) * 2;

return ALIGN(num_bytes, fs_info->extent_root->leafsize << 10);
}
Expand Down

0 comments on commit 2193b1e

Please sign in to comment.