Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274643
b: refs/heads/master
c: 9a82ca6
h: refs/heads/master
i:
  274641: 4e0722b
  274639: 7a43423
v: v3
  • Loading branch information
Josef Bacik committed Oct 19, 2011
1 parent 20a1e28 commit 9ef2d88
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: 549b4fdb8f3c0708bbc0ee12ff955cd206c0f60c
refs/heads/master: 9a82ca659d8bfd99afc0e89bbde2202322df5755
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -3521,7 +3521,7 @@ static int reserve_metadata_bytes(struct btrfs_root *root,
avail >>= 1;
spin_unlock(&root->fs_info->free_chunk_lock);

if (used + orig_bytes < space_info->total_bytes + avail) {
if (used + num_bytes < space_info->total_bytes + avail) {
space_info->bytes_may_use += orig_bytes;
ret = 0;
}
Expand Down

0 comments on commit 9ef2d88

Please sign in to comment.