]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdbfffa4ec6dffda75b507e17a1daad7428fda1a6
treef04a2e3db658c12cabae3dfd4449d8199dc0fc19
parent5f4441c42833c3a00f0e5f4aad1348dfbd135c2a
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