Unverified Commit d524e9d6 authored by Jeff Layton's avatar Jeff Layton Committed by Christian Brauner
Browse files

x86: convert to new timestamp accessors



Convert to using the new inode timestamp accessor functions.

Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20231004185347.80880-8-jlayton@kernel.org


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 5776aa6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;