mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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:
parent
5463704f78
commit
19f926a688
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user