Messages in this thread Patch in this message | | | Date | Thu, 13 Apr 2006 16:09:02 -0700 | From | Greg KH <> | Subject | [patch 16/22] Fix utime(2) in the case that no times parameter was passed in. |
| |
-stable review patch. If anyone has any objections, please let us know.
------------------
SGI-PV: 949858 SGI-Modid: xfs-linux-melb:xfs-kern:25717a
Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
---
fs/xfs/linux-2.6/xfs_iops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
8c0b5113a55c698f3190ec85925815640f1c2049 --- linux-2.6.16.5.orig/fs/xfs/linux-2.6/xfs_iops.c +++ linux-2.6.16.5/fs/xfs/linux-2.6/xfs_iops.c @@ -673,8 +673,7 @@ 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; + inode->i_atime = attr->ia_atime; } if (ia_valid & ATTR_MTIME) { vattr.va_mask |= XFS_AT_MTIME; -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |