mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: dhowells@redhat.com, y2038 Mailman List <y2038@lists.linaro.org>,
	linux-cachefs@redhat.com,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] cachefiles: avoid deprecated get_seconds()
Date: Wed, 20 Jun 2018 13:18:08 +0100	[thread overview]
Message-ID: <24227.1529497088@warthog.procyon.org.uk> (raw)
In-Reply-To: <CAK8P3a06uP18jei=b3Hwdoe21f3gM6K5j2129Ra5CdVx5aKh6g@mail.gmail.com>

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

      parent reply	other threads:[~2018-06-20 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20  8:31 Arnd Bergmann
2018-06-20 10:58 ` David Howells
2018-06-20 12:03   ` Arnd Bergmann
2018-06-20 12:18   ` David Howells [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24227.1529497088@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=arnd@arndb.de \
    --cc=linux-cachefs@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=y2038@lists.linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®