1
0
Fork 0
remarkable-linux/fs/isofs
Arnd Bergmann affd159b23 isofs: fix timestamps beyond 2027
commit 34be4dbf87 upstream.

isofs uses a 'char' variable to load the number of years since
1900 for an inode timestamp. On architectures that use a signed
char type by default, this results in an invalid date for
anything beyond 2027.

This changes the function argument to a 'u8' array, which
is defined the same way on all architectures, and unambiguously
lets us use years until 2155.

This should be backported to all kernels that might still be
in use by that date.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:39:04 +00:00
..
Kconfig fs/Kconfig: move iso9660, udf out 2009-01-22 13:15:55 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compress.c Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-07-28 12:59:05 -07:00
dir.c isofs: switch to ->iterate_shared() 2016-05-09 12:53:03 -04:00
export.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
inode.c isofs: Do not return EACCES for unknown filesystems 2016-10-18 11:28:21 +02:00
isofs.h isofs: fix timestamps beyond 2027 2017-11-30 08:39:04 +00:00
joliet.c NLS: update handling of Unicode 2009-06-15 21:44:43 -07:00
namei.c get rid of 'parent' argument of ->d_compare() 2016-07-31 16:37:25 -04:00
rock.c isofs: add KERN_CONT to printing of ER records 2016-11-30 10:41:26 -08:00
rock.h isofs: fix timestamps beyond 2027 2017-11-30 08:39:04 +00:00
util.c isofs: fix timestamps beyond 2027 2017-11-30 08:39:04 +00:00
zisofs.h [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00