staging: exfat: stop using 32-bit time_t
authorArnd Bergmann <arnd@arndb.de>
Fri, 6 Sep 2019 15:09:05 +0000 (17:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Sep 2019 16:20:28 +0000 (18:20 +0200)
commit44f6b40c225eb8e82eba8fd96d8f3fb843bc5a09
tree09dee77e26feafbd7f6a4685caadd8a2fc61bee1
parent26cf7660919e4f0b2cf26d0ea6c95f58cbbd7ec7
staging: exfat: stop using 32-bit time_t

time_t suffers from overflow problems and should not be used.

In exfat, it is currently used in two open-coded time64_to_tm()
implementations. Changes those to use the existing function instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20190906150917.1025250-2-arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_super.c