utimes: Make utimes y2038 safe
authorDeepa Dinamani <deepa.kernel@gmail.com>
Thu, 3 Aug 2017 02:51:15 +0000 (19:51 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Sep 2017 00:24:30 +0000 (20:24 -0400)
commitaaed2dd8a31359e5767ee099ecbb078d55be4d29
treef04a2e3db658c12cabae3dfd4449d8199dc0fc19
parent7ff2819e8dd5b528887dfbe4ff395f5d2142edff
utimes: Make utimes y2038 safe

struct timespec is not y2038 safe on 32 bit machines.
Replace timespec with y2038 safe struct timespec64.

Note that the patch only changes the internals without
modifying the syscall interfaces. This will be part
of a separate series.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/utimes.c
include/linux/time.h
init/initramfs.c