diff options
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 083fc0479e69..df695e968066 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -2757,7 +2757,8 @@ xfs_iunpin( | |||
2757 | if (vp) { | 2757 | if (vp) { |
2758 | struct inode *inode = vn_to_inode(vp); | 2758 | struct inode *inode = vn_to_inode(vp); |
2759 | 2759 | ||
2760 | if (!(inode->i_state & I_NEW)) | 2760 | if (!(inode->i_state & |
2761 | (I_NEW|I_FREEING|I_CLEAR))) | ||
2761 | mark_inode_dirty_sync(inode); | 2762 | mark_inode_dirty_sync(inode); |
2762 | } | 2763 | } |
2763 | } | 2764 | } |