diff options
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index 35a053fd161b..c5dc7ea85260 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -714,7 +714,7 @@ xfs_fsync( | |||
714 | return XFS_ERROR(EIO); | 714 | return XFS_ERROR(EIO); |
715 | 715 | ||
716 | /* capture size updates in I/O completion before writing the inode. */ | 716 | /* capture size updates in I/O completion before writing the inode. */ |
717 | error = filemap_fdatawait(vn_to_inode(VFS_I(ip))->i_mapping); | 717 | error = filemap_fdatawait(VFS_I(ip)->i_mapping); |
718 | if (error) | 718 | if (error) |
719 | return XFS_ERROR(error); | 719 | return XFS_ERROR(error); |
720 | 720 | ||
@@ -2917,7 +2917,7 @@ xfs_reclaim( | |||
2917 | XFS_MOUNT_ILOCK(mp); | 2917 | XFS_MOUNT_ILOCK(mp); |
2918 | spin_lock(&ip->i_flags_lock); | 2918 | spin_lock(&ip->i_flags_lock); |
2919 | __xfs_iflags_set(ip, XFS_IRECLAIMABLE); | 2919 | __xfs_iflags_set(ip, XFS_IRECLAIMABLE); |
2920 | vn_to_inode(vp)->i_private = NULL; | 2920 | vp->i_private = NULL; |
2921 | ip->i_vnode = NULL; | 2921 | ip->i_vnode = NULL; |
2922 | spin_unlock(&ip->i_flags_lock); | 2922 | spin_unlock(&ip->i_flags_lock); |
2923 | list_add_tail(&ip->i_reclaim, &mp->m_del_inodes); | 2923 | list_add_tail(&ip->i_reclaim, &mp->m_del_inodes); |