aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index c29f34253e2b..6b67d617c092 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -1766,7 +1766,7 @@ xfs_inactive_truncate(
1766 /* 1766 /*
1767 * Log the inode size first to prevent stale data exposure in the event 1767 * Log the inode size first to prevent stale data exposure in the event
1768 * of a system crash before the truncate completes. See the related 1768 * of a system crash before the truncate completes. See the related
1769 * comment in xfs_setattr_size() for details. 1769 * comment in xfs_vn_setattr_size() for details.
1770 */ 1770 */
1771 ip->i_d.di_size = 0; 1771 ip->i_d.di_size = 0;
1772 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); 1772 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);