From: Jeff Layton Date: Wed, 4 Oct 2023 18:51:51 +0000 (-0400) Subject: char: convert to new timestamp accessors X-Git-Tag: v6.7-rc1~205^2~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19f926a688f99a42578e06a6dd14582c625d9445;p=thirdparty%2Fkernel%2Flinux.git char: convert to new timestamp accessors Convert to using the new inode timestamp accessor functions. Signed-off-by: Jeff Layton Link: https://lore.kernel.org/r/20231004185347.80880-4-jlayton@kernel.org Signed-off-by: Christian Brauner --- diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 9211531689b28..22d249333f530 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c @@ -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;