Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118754
b: refs/heads/master
c: 2cf7f0d
h: refs/heads/master
v: v3
  • Loading branch information
Lachlan McIlroy authored and Lachlan McIlroy committed Nov 10, 2008
1 parent cb19302 commit 3d815aa
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: 9ccbece546cf836f67f6d9bb4bf2f70f7476cb2c
refs/heads/master: 2cf7f0da3ae225848a2ee10d4e216448a770fd00
2 changes: 1 addition & 1 deletion trunk/fs/xfs/xfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ xfs_itruncate_start(
mp = ip->i_mount;

/* wait for the completion of any pending DIOs */
if (new_size < ip->i_size)
if (new_size == 0 || new_size < ip->i_size)
vn_iowait(ip);

/*
Expand Down

0 comments on commit 3d815aa

Please sign in to comment.