Re: [PATCH] isofs: prevent file time rollover after year 2038

From: Jan Kara
Date: Mon Oct 24 2022 - 12:17:05 EST


On Mon 24-10-22 14:26:14, Jan Kara wrote:
> On Thu 20-10-22 18:00:29, Arnd Bergmann wrote:
> > From: Thomas Schmitt <scdbackup@xxxxxxx>
> >
> > 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@xxxxxxx>
> > Cc: stable@xxxxxxxxxxxxxxx
> > 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@xxxxxxxx>
>
> Thanks! I've added the patch to my tree and will push it to Linus.

Oh, I have noticed Andrew has merged the patch already into his tree. So
dropped from mine.

Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR