Messages in this thread | | | Date | Fri, 21 Oct 2022 11:19:55 +0200 | From | Christian Brauner <> | Subject | Re: [PATCH] isofs: prevent file time rollover after year 2038 |
| |
On Thu, Oct 20, 2022 at 06:00:29PM +0200, Arnd Bergmann wrote: > From: Thomas Schmitt <scdbackup@gmx.net> > > Change the return type of function iso_date() from int to time64_t, > to avoid truncating to the 1902..2038 date range. > > After this patch, the reported timestamps should fall into the > range reported in the s_time_min/s_time_max fields. > > Signed-off-by: Thomas Schmitt <scdbackup@gmx.net> > Cc: stable@vger.kernel.org > Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800627 > Fixes: 34be4dbf87fc ("isofs: fix timestamps beyond 2027") > Fixes: 5ad32b3acded ("isofs: Initialize filesystem timestamp ranges") > [arnd: expand changelog text slightly] > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > ---
Looks good to me, Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org>
| |