Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128372
b: refs/heads/master
c: 308535a
h: refs/heads/master
v: v3
  • Loading branch information
Chris Mason authored and David Woodhouse committed Apr 28, 2007
1 parent a4b5202 commit 2ef11a5
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: 7c4452b9a6ca7aabe37ea2e43d443110bdc08cd8
refs/heads/master: 308535a05e4c39d2be26e0aeee722682deeb6f77
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ static int find_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root
if (num_blocks == 0) {
fill_prealloc = 1;
num_blocks = 1;
total_needed = min(level + 2, BTRFS_MAX_LEVEL) * 3;
total_needed = (min(level + 1, BTRFS_MAX_LEVEL) + 2) * 3;
}
find_search_start(root, 0);
if (info->block_group_cache &&
Expand Down

0 comments on commit 2ef11a5

Please sign in to comment.