]> 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)
commit0ab77f85c2453540c893f6e1ec62261e5732cb01
tree404e86c55774c98000ff1def4032e406998a9237
parente11e6ac7edf1601e90013ef0f1f4eccd36044161
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