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_itable.c | |
parent | 1259845d3f3e1d1cf96b2a78f3aec824b9d1e109 (diff) | |
download | linux-ca5ccbf98d792d8727e893765cc2df479ba399f2.tar.bz2 |
[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_itable.c')
-rw-r--r-- | fs/xfs/xfs_itable.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index 41f50e7d1c32..c59450e1be40 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c @@ -86,9 +86,7 @@ xfs_bulkstat_one_iget( buf->bs_uid = dic->di_uid; buf->bs_gid = dic->di_gid; buf->bs_size = dic->di_size; - /* atime is only kept uptodate in the Linux inode */ - buf->bs_atime.tv_sec = vp->v_inode.i_atime.tv_sec; - buf->bs_atime.tv_nsec = vp->v_inode.i_atime.tv_nsec; + vn_atime_to_bstime(vp, &buf->bs_atime); buf->bs_mtime.tv_sec = dic->di_mtime.t_sec; buf->bs_mtime.tv_nsec = dic->di_mtime.t_nsec; buf->bs_ctime.tv_sec = dic->di_ctime.t_sec; |