lkml.org 
[lkml]   [2018]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] cachefiles: avoid deprecated get_seconds()
Date
Arnd Bergmann <arnd@arndb.de> wrote:

> > But I've no objection to using ktime_get_real_seconds() and truncating the
> > value.
>
> Ok, fair enough. I was mainly worried about what might happen when the
> file names stop being strictly sorted in numerical order by their creation
> time. If that is not a problem, I'll send the simpler patch to use
> lower_32_bits(ktime_get_real_seconds()) for clarity.

That's not a problem. Everything copied into that directory is to be deleted
asap.

David

\
 
 \ /
  Last update: 2018-06-20 14:19    [W:0.340 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site