diff options
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index 8ed7af3c5d63..e7ef78fb4da3 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -598,7 +598,7 @@ xfs_setattr( | |||
598 | } | 598 | } |
599 | 599 | ||
600 | /* wait for all I/O to complete */ | 600 | /* wait for all I/O to complete */ |
601 | vn_iowait(vp); | 601 | vn_iowait(ip); |
602 | 602 | ||
603 | if (!code) | 603 | if (!code) |
604 | code = xfs_itruncate_data(ip, vap->va_size); | 604 | code = xfs_itruncate_data(ip, vap->va_size); |
@@ -3683,7 +3683,7 @@ xfs_reclaim( | |||
3683 | return 0; | 3683 | return 0; |
3684 | } | 3684 | } |
3685 | 3685 | ||
3686 | vn_iowait(vp); | 3686 | vn_iowait(ip); |
3687 | 3687 | ||
3688 | ASSERT(XFS_FORCED_SHUTDOWN(ip->i_mount) || ip->i_delayed_blks == 0); | 3688 | ASSERT(XFS_FORCED_SHUTDOWN(ip->i_mount) || ip->i_delayed_blks == 0); |
3689 | 3689 | ||
@@ -4189,7 +4189,7 @@ xfs_free_file_space( | |||
4189 | need_iolock = 0; | 4189 | need_iolock = 0; |
4190 | if (need_iolock) { | 4190 | if (need_iolock) { |
4191 | xfs_ilock(ip, XFS_IOLOCK_EXCL); | 4191 | xfs_ilock(ip, XFS_IOLOCK_EXCL); |
4192 | vn_iowait(vp); /* wait for the completion of any pending DIOs */ | 4192 | vn_iowait(ip); /* wait for the completion of any pending DIOs */ |
4193 | } | 4193 | } |
4194 | 4194 | ||
4195 | rounding = max_t(uint, 1 << mp->m_sb.sb_blocklog, NBPP); | 4195 | rounding = max_t(uint, 1 << mp->m_sb.sb_blocklog, NBPP); |