aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-01-11 05:03:04 -0500
committerNathan Scott <nathans@sgi.com>2006-01-11 05:03:04 -0500
commitca5ccbf98d792d8727e893765cc2df479ba399f2 (patch)
tree5e325ee9d845f9a84bdfa8009866e51013edfa3a /fs/xfs/xfs_vnodeops.c
parent1259845d3f3e1d1cf96b2a78f3aec824b9d1e109 (diff)
[XFS] Fix some build fallout from atime changes.
SGI-PV: 946679 SGI-Modid: xfs-linux-melb:xfs-kern:24899a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r--fs/xfs/xfs_vnodeops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c
index b12fcfcb196d..f8916349a9c6 100644
--- a/fs/xfs/xfs_vnodeops.c
+++ b/fs/xfs/xfs_vnodeops.c
@@ -182,8 +182,7 @@ xfs_getattr(
182 break; 182 break;
183 } 183 }
184 184
185 /* atime is only kept uptodate in the Linux inode */ 185 vn_atime_to_timespec(vp, &vap->va_atime);
186 vap->va_atime = vp->v_inode.i_atime;
187 vap->va_mtime.tv_sec = ip->i_d.di_mtime.t_sec; 186 vap->va_mtime.tv_sec = ip->i_d.di_mtime.t_sec;
188 vap->va_mtime.tv_nsec = ip->i_d.di_mtime.t_nsec; 187 vap->va_mtime.tv_nsec = ip->i_d.di_mtime.t_nsec;
189 vap->va_ctime.tv_sec = ip->i_d.di_ctime.t_sec; 188 vap->va_ctime.tv_sec = ip->i_d.di_ctime.t_sec;