Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253809
b: refs/heads/master
c: f4c4401
h: refs/heads/master
i:
  253807: dda7050
v: v3
  • Loading branch information
Chris Mason committed Jun 13, 2011
1 parent f41e300 commit b7521d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: ac08aedfa5d3de0dcb3825b598d16c2e57991f54
refs/heads/master: f4c44016218a6fce357715b9bbabbbbe1f69853c
4 changes: 0 additions & 4 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -3314,10 +3314,6 @@ static int shrink_delalloc(struct btrfs_trans_handle *trans,
if (reserved == 0)
return 0;

/* nothing to shrink - nothing to reclaim */
if (root->fs_info->delalloc_bytes == 0)
return 0;

max_reclaim = min(reserved, to_reclaim);

while (loops < 1024) {
Expand Down

0 comments on commit b7521d4

Please sign in to comment.