diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_iops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index 98d5a7e13bd5..59ba1dc65fa6 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
@@ -65,9 +65,8 @@ xfs_synchronize_atime( | |||
65 | 65 | ||
66 | vp = XFS_ITOV_NULL(ip); | 66 | vp = XFS_ITOV_NULL(ip); |
67 | if (vp) { | 67 | if (vp) { |
68 | struct inode *inode = &vp->v_inode; | 68 | ip->i_d.di_atime.t_sec = (__int32_t)vp->i_atime.tv_sec; |
69 | ip->i_d.di_atime.t_sec = (__int32_t)inode->i_atime.tv_sec; | 69 | ip->i_d.di_atime.t_nsec = (__int32_t)vp->i_atime.tv_nsec; |
70 | ip->i_d.di_atime.t_nsec = (__int32_t)inode->i_atime.tv_nsec; | ||
71 | } | 70 | } |
72 | } | 71 | } |
73 | 72 | ||
@@ -327,7 +326,7 @@ xfs_vn_mknod( | |||
327 | if (!error) { | 326 | if (!error) { |
328 | error = _ACL_INHERIT(vp, &vattr, default_acl); | 327 | error = _ACL_INHERIT(vp, &vattr, default_acl); |
329 | if (!error) | 328 | if (!error) |
330 | xfs_iflags_set(XFS_I(&vp->v_inode), XFS_IMODIFIED); | 329 | xfs_iflags_set(XFS_I(vp), XFS_IMODIFIED); |
331 | else | 330 | else |
332 | xfs_cleanup_inode(dir, vp, dentry, mode); | 331 | xfs_cleanup_inode(dir, vp, dentry, mode); |
333 | } | 332 | } |