mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[XFS] Fix missing inode atime update from the utime syscall.
SGI-PV: 949214 SGI-Modid: xfs-linux-melb:xfs-kern:25136a Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
parent
9fddaca229
commit
9bd6f13dfd
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue