char: 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-4-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Jeff Layton 2023-10-04 14:51:51 -04:00 committed by Christian Brauner
parent 5463704f78
commit 19f926a688
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2

View File

@ -920,7 +920,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;