diff options
author | Felix Blyakher <felixb@sgi.com> | 2009-03-16 09:15:27 -0500 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-03-16 09:15:27 -0500 |
commit | 4740cd8b4f27d6ac11e76c432d5d03fb780b2596 (patch) | |
tree | 46cb64d646ce1481dc9e606740742c40c9e6af50 /fs/xfs/xfs_itable.c | |
parent | cb1b77804091cc3491da4338a3599e318f358b25 (diff) | |
parent | 6cc87645e2a3c28d857b074e90bf88bfcd117afa (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/fs/xfs/xfs
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-rw-r--r-- | fs/xfs/xfs_itable.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index cf98a805ec90..24f1d139a636 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c @@ -83,7 +83,12 @@ xfs_bulkstat_one_iget( buf->bs_uid = dic->di_uid; buf->bs_gid = dic->di_gid; buf->bs_size = dic->di_size; - vn_atime_to_bstime(VFS_I(ip), &buf->bs_atime); + /* + * We are reading the atime from the Linux inode because the + * dinode might not be uptodate. + */ + buf->bs_atime.tv_sec = VFS_I(ip)->i_atime.tv_sec; + buf->bs_atime.tv_nsec = VFS_I(ip)->i_atime.tv_nsec; 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; |