staging/lustre: use 64-bit time for adaptive timeout
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:19 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:37 +0000 (04:03 +0200)
commit0ac0478b65de1e5b8b62f608bdf1d8ba631acc4d
treeaaa470414a60ca151414c47885eba560a925bb9a
parent74e489aa9cce1ec8f8a44ecc1651cf06b61db204
staging/lustre: use 64-bit time for adaptive timeout

The adaptive timeout handling stores absolute times in 32-bit time_t
quantities, which will overflow in 2038.

This changes it to use time64_t.

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/lustre/include/lustre_import.h
drivers/staging/lustre/lustre/ptlrpc/import.c
drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c