From 1dfdd80729c87455b28aeca41ab68d000db3610d Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 7 Feb 2006 20:27:44 +1100 Subject: [PATCH] --- yaml --- r: 20003 b: refs/heads/master c: 9bd6f13dfd1dfb2e8f20df50581ebe7344ba97bd h: refs/heads/master i: 20001: 1c8e7aa9eb3a8d1715aa8478f7fac6897db37bdc 19999: b3bcbb81740de4aaa9ba01c1c87212141951cd3a v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/xfs_iops.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 8c9cc7be924e..23152a330534 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9fddaca2293d768eb21ea115e5eedec7f1c13c1c +refs/heads/master: 9bd6f13dfd1dfb2e8f20df50581ebe7344ba97bd diff --git a/trunk/fs/xfs/linux-2.6/xfs_iops.c b/trunk/fs/xfs/linux-2.6/xfs_iops.c index eda7919b70a1..d7f6f2d8ac8e 100644 --- a/trunk/fs/xfs/linux-2.6/xfs_iops.c +++ b/trunk/fs/xfs/linux-2.6/xfs_iops.c @@ -673,6 +673,8 @@ linvfs_setattr( if (ia_valid & ATTR_ATIME) { vattr.va_mask |= XFS_AT_ATIME; vattr.va_atime = attr->ia_atime; + if (ia_valid & ATTR_ATIME_SET) + inode->i_atime = attr->ia_atime; } if (ia_valid & ATTR_MTIME) { vattr.va_mask |= XFS_AT_MTIME;