[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <33441.1573250029@turing-police>
Date: Fri, 08 Nov 2019 16:53:49 -0500
From: "Valdis Klētnieks" <valdis.kletnieks@...edu>
To: Arnd Bergmann <arnd@...db.de>
Cc: y2038@...ts.linaro.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org,
Valentin Vidic <vvidic@...entin-vidic.from.hr>,
devel@...verdev.osuosl.org
Subject: Re: [PATCH 01/16] staging: exfat: use prandom_u32() for i_generation
On Fri, 08 Nov 2019 22:32:39 +0100, Arnd Bergmann said:
> Similar to commit 46c9a946d766 ("shmem: use monotonic time for i_generation")
> we should not use the deprecated get_seconds() interface for i_generation.
>
> prandom_u32() is the replacement used in other file systems.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
exfat does some weird stuff with i_generation. but (a) it doesn't require
monotonic increasing values and (b) this change is orthogonal to the weirdness
and won't break anything.
For the exfat part:
Acked-by: Valdis Kletnieks <valdis.kletnieks@...edu>
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists