mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Evgeniy Dushistov <dushistov@mail.ru>,
	y2038@lists.linaro.org, Jeff Layton <jlayton@redhat.com>,
	David Howells <dhowells@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ufs: use ktime_get_real_seconds for sb and cg timestamps
Date: Wed, 20 Jun 2018 10:33:57 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.21.1806201033350.10546@nanos.tec.linutronix.de> (raw)
In-Reply-To: <20180619154752.3768171-1-arnd@arndb.de>

On Tue, 19 Jun 2018, Arnd Bergmann wrote:

> get_seconds() is deprecated because of the 32-bit overflow and will
> be removed. All callers in ufs also truncate to a 32-bit number, so
> nothing changes during the conversion, but this should be harmless as the
> superblock and cylinder group timestamps are not visible to user space,
> except for checking the fs-dirty state, wich works fine across the
> overflow.
> 
> This moves the call to get_seconds() into a new inline function, with
> a comment explaining the constraints, while converting it to
> ktime_get_real_seconds().

Acked-by: Thomas Gleixner <tglx@linutronix.de>

      reply	other threads:[~2018-06-20  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-19 15:47 Arnd Bergmann
2018-06-20  8:33 ` Thomas Gleixner [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=alpine.DEB.2.21.1806201033350.10546@nanos.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=arnd@arndb.de \
    --cc=dhowells@redhat.com \
    --cc=dushistov@mail.ru \
    --cc=jlayton@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®