[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKYAXd9pu=G2DxbcN-aE=ToKAZKgxsDHA2Z3F+gvQnOx5di2fg@mail.gmail.com>
Date: Wed, 15 Jan 2020 22:07:38 +0900
From: Namjae Jeon <linkinjeon@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Namjae Jeon <namjae.jeon@...sung.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux FS-devel Mailing List <linux-fsdevel@...r.kernel.org>,
gregkh <gregkh@...uxfoundation.org>,
Valdis Kletnieks <valdis.kletnieks@...edu>,
Christoph Hellwig <hch@....de>, sj1557.seo@...sung.com,
Pali Rohár <pali.rohar@...il.com>
Subject: Re: [PATCH v10 05/14] exfat: add file operations
2020-01-15 18:56 GMT+09:00, Arnd Bergmann <arnd@...db.de>:
> On Wed, Jan 15, 2020 at 9:28 AM Namjae Jeon <namjae.jeon@...sung.com>
> wrote:
>
>> +
>> + ktime_get_real_ts64(&ts);
>> + exfat_set_entry_time(sbi, &ts,
>> + &ep->dentry.file.modify_time,
>> + &ep->dentry.file.modify_date,
>> + &ep->dentry.file.modify_tz);
>
> I think this part should use current_time() instead of
> ktime_get_real_ts64()
> so it gets truncated to the correct resolution and range.
>
> Please also check if there are other callers of ktime_get_real_ts64() that
> may need the same change.
Okay, I will change them.
Thanks!
>
> Arnd
>
Powered by blists - more mailing lists