android_kernel_oneplus_msm8998/fs/isofs
Arnd Bergmann 4e23be6169 isofs: fix timestamps beyond 2027
commit 34be4dbf87fc3e474a842305394534216d428f5d 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:37:20 +00:00
..
compress.c initramfs: support initramfs that is bigger than 2GiB 2014-08-08 15:57:26 -07:00
dir.c [readdir] convert isofs 2013-06-29 12:56:47 +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-28 03:01:34 -04:00
isofs.h isofs: fix timestamps beyond 2027 2017-11-30 08:37:20 +00:00
joliet.c NLS: update handling of Unicode 2009-06-15 21:44:43 -07: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
namei.c isofs: don't bother with ->d_op for normal case 2014-10-31 06:33:17 -04:00
rock.c get_rock_ridge_filename(): handle malformed NM entries 2016-05-18 17:06:54 -07:00
rock.h isofs: fix timestamps beyond 2027 2017-11-30 08:37:20 +00:00
util.c isofs: fix timestamps beyond 2027 2017-11-30 08:37:20 +00:00
zisofs.h [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00