]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre: use 64-bit times for ptlrpc sec expiry
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:28 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:06:16 +0000 (04:06 +0200)
commitc5c4d5e1ca2ab8f7bcb9fb5db89ece545730c7e6
tree404e86c55774c98000ff1def4032e406998a9237
parentde921e91c8c6a7ee90644c4e6ca642a7efbf3d79
staging/lustre: use 64-bit times for ptlrpc sec expiry

The exp_flvr_expire and imp_sec_expire are defined as 'unsigned long',
which doesn't overflow until 2106, but to be on the safe side, this
changes the code to use time64_t like we do everywhere else.

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_export.h
drivers/staging/lustre/lustre/include/lustre_import.h
drivers/staging/lustre/lustre/ptlrpc/sec.c
drivers/staging/lustre/lustre/ptlrpc/sec_config.c