lkml.org 
[lkml]   [2023]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 10/87] drivers/platform/x86: convert to new inode {a,m}time accessors
From
Hi Jeff,

On 9/28/23 13:02, Jeff Layton wrote:
> Signed-off-by: Jeff Layton <jlayton@kernel.org>

Thanks, feel free to merge through one of the fs / vfs related trees:

Acked-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans




> ---
> drivers/platform/x86/sony-laptop.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;

\
 
 \ /
  Last update: 2023-09-28 14:36    [W:0.215 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site