Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18148
b: refs/heads/master
c: 1661dc8
h: refs/heads/master
v: v3
  • Loading branch information
Yingping Lu authored and Nathan Scott committed Jan 11, 2006
1 parent 7900805 commit 3059d4b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c7d437da3dda0ac7199c320b6a48c04ec37a614d
refs/heads/master: 1661dc8e7a2c6aeb8f2fb6a8197909c95c220a71
3 changes: 2 additions & 1 deletion trunk/fs/xfs/xfs_vnodeops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,8 @@ xfs_inactive(
* only one with a reference to the inode.
*/
truncate = ((ip->i_d.di_nlink == 0) &&
((ip->i_d.di_size != 0) || (ip->i_d.di_nextents > 0)) &&
((ip->i_d.di_size != 0) || (ip->i_d.di_nextents > 0) ||
(ip->i_delayed_blks > 0)) &&
((ip->i_d.di_mode & S_IFMT) == S_IFREG));

mp = ip->i_mount;
Expand Down

0 comments on commit 3059d4b

Please sign in to comment.