Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61875
b: refs/heads/master
c: 91ebecc
h: refs/heads/master
i:
  61873: fd5e4db
  61871: cb6538c
v: v3
  • Loading branch information
David Chinner authored and Tim Shimmin committed Jul 19, 2007
1 parent 336999d commit 4add77d
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 4f57dbc6b5bae5a3978d429f45ac597ca7a3b8c6
refs/heads/master: 91ebecc74eeeeea0a2aa50bf1964ec2214a229c9
5 changes: 4 additions & 1 deletion trunk/fs/xfs/xfs_vnodeops.c
Original file line number Diff line number Diff line change
Expand Up @@ -4434,9 +4434,12 @@ xfs_free_file_space(
while (!error && !done) {

/*
* allocate and setup the transaction
* allocate and setup the transaction. Allow this
* transaction to dip into the reserve blocks to ensure
* the freeing of the space succeeds at ENOSPC.
*/
tp = xfs_trans_alloc(mp, XFS_TRANS_DIOSTRAT);
tp->t_flags |= XFS_TRANS_RESERVE;
error = xfs_trans_reserve(tp,
resblks,
XFS_WRITE_LOG_RES(mp),
Expand Down

0 comments on commit 4add77d

Please sign in to comment.