[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180620143655.GD24375@twin.jikos.cz>
Date: Wed, 20 Jun 2018 16:36:55 +0200
From: David Sterba <dsterba@...e.cz>
To: Arnd Bergmann <arnd@...db.de>
Cc: Chris Mason <clm@...com>, Josef Bacik <jbacik@...com>,
David Sterba <dsterba@...e.com>, y2038@...ts.linaro.org,
Anand Jain <anand.jain@...cle.com>,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] btrfs: use 64-bit timestamps for struct
btrfs_dev_replace_item
On Wed, Jun 20, 2018 at 04:34:33PM +0200, Arnd Bergmann wrote:
> The structure already has 64-bit fields for the timestamps, but
> calling get_seconds() may truncate and risk overflow on 32-bit
> architectures.
>
> This changes the dev-replace code to use ktime_get_real_seconds()
> instead, which always returns 64-bit timestamps.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Thanks but there's a patch already fixng that, sent a few days ago
https://patchwork.kernel.org/patch/10473195/
and added to patch queue for the next dev cycle as it does not appear to
urgent for 4.18.
Powered by blists - more mailing lists