diff options
author | Nathan Scott <nathans@sgi.com> | 2006-01-11 21:03:04 +1100 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-01-11 21:03:04 +1100 |
commit | ca5ccbf98d792d8727e893765cc2df479ba399f2 (patch) | |
tree | 5e325ee9d845f9a84bdfa8009866e51013edfa3a /fs/xfs/xfs_vnodeops.c | |
parent | 1259845d3f3e1d1cf96b2a78f3aec824b9d1e109 (diff) | |
download | op-kernel-dev-ca5ccbf98d792d8727e893765cc2df479ba399f2.zip op-kernel-dev-ca5ccbf98d792d8727e893765cc2df479ba399f2.tar.gz |
[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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index b12fcfc..f891634 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c @@ -182,8 +182,7 @@ xfs_getattr( break; } - /* atime is only kept uptodate in the Linux inode */ - vap->va_atime = vp->v_inode.i_atime; + vn_atime_to_timespec(vp, &vap->va_atime); vap->va_mtime.tv_sec = ip->i_d.di_mtime.t_sec; vap->va_mtime.tv_nsec = ip->i_d.di_mtime.t_nsec; vap->va_ctime.tv_sec = ip->i_d.di_ctime.t_sec; |