x86: convert to new timestamp accessors

Convert to using the new inode timestamp accessor functions.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20231004185347.80880-8-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Jeff Layton 2023-10-04 14:51:55 -04:00 committed by Christian Brauner
parent 5776aa6bec
commit d524e9d6ec
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2

View File

@ -4092,7 +4092,7 @@ static ssize_t sonypi_misc_read(struct file *file, char __user *buf,
if (ret > 0) {
struct inode *inode = file_inode(file);
inode->i_atime = current_time(inode);
inode_set_atime_to_ts(inode, current_time(inode));
}
return ret;