]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre: use 64-bit time for ni_last_alive
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:22 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:37 +0000 (04:03 +0200)
commite320e76a93a86f7feb09d72d2aed0668889abd1c
tree35c9a975b03c14a49a036f495ffdda08051b4fad
parenta6f67bdf91de12289356f8c9089332274c94877c
staging/lustre: use 64-bit time for ni_last_alive

The ni_last_alive member of lnet_ni uses a 'long' to store a timestamp,
which breaks on 32-bit systems in 2038.

This changes it to use time64_t and the respective functions for it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/lib-types.h
drivers/staging/lustre/lnet/lnet/config.c
drivers/staging/lustre/lnet/lnet/lib-move.c
drivers/staging/lustre/lnet/lnet/router.c
drivers/staging/lustre/lnet/lnet/router_proc.c