Whamcloud - gitweb
LU-4423 ptlrpc: use 64-bit times for ptlrpc sec expiry 09/24709/2
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Jan 2017 21:41:46 +0000 (16:41 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 18 Jan 2017 18:59:40 +0000 (18:59 +0000)
commit1bb6ce8d8cc4de97d49ab5f1d8a07b60e3dc3639
treeec27aab644bc97710e9f19784f057298b479679e
parentfb403f8b5f8ba61fe0da28e7f7c5e01776717750
LU-4423 ptlrpc: 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.

Linux-commit: 986ef135c2afce959971b0086fc04e0f9f654120

Change-Id: Id1a560504e9a9c673e0880ac4e3e80938b3789bc
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>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/24709
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
lustre/include/lustre_export.h
lustre/include/lustre_import.h
lustre/ptlrpc/sec.c
lustre/ptlrpc/sec_config.c