diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 21:51:55 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:26:16 +0300 |
commit | d524e9d6ec1e292bfe88735eb0b6f32b1940ac68 (patch) | |
tree | 3458f2465d53c941300286cb7b17216a2851346c | |
parent | 5776aa6bec2be00a82a5fc7258c2339af7fa6877 (diff) | |
download | linux-d524e9d6ec1e292bfe88735eb0b6f32b1940ac68.tar.xz |
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>
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 9569f11dec8c..40878e327afd 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -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; |