lkml.org 
[lkml]   [2020]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v10 05/14] exfat: add file operations
2020-01-15 18:56 GMT+09:00, Arnd Bergmann <arnd@arndb.de>:
> On Wed, Jan 15, 2020 at 9:28 AM Namjae Jeon <namjae.jeon@samsung.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
>

\
 
 \ /
  Last update: 2020-01-15 14:08    [W:0.081 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site