Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274648
b: refs/heads/master
c: bbb495c
h: refs/heads/master
v: v3
  • Loading branch information
Josef Bacik committed Oct 19, 2011
1 parent 02519d4 commit 9e2ee59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: ed3ee9f44ba55eb6acfbfc8caa881e0253710d2a
refs/heads/master: bbb495c2ed9d34894cb3d6d366866fc92a2e1adc
11 changes: 0 additions & 11 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -3568,17 +3568,6 @@ static int reserve_metadata_bytes(struct btrfs_root *root,
goto again;
}

/*
* Not enough space to be reclaimed, don't bother committing the
* transaction.
*/
spin_lock(&space_info->lock);
if (space_info->bytes_pinned < orig_bytes)
ret = -ENOSPC;
spin_unlock(&space_info->lock);
if (ret)
goto out;

ret = -EAGAIN;
if (trans)
goto out;
Expand Down

0 comments on commit 9e2ee59

Please sign in to comment.