Whamcloud - gitweb
LU-4423 ptlrpc: use 64-bit times for ptlrpc_sec 10/24710/3
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Jan 2017 01:50:19 +0000 (20:50 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Jan 2017 05:23:49 +0000 (05:23 +0000)
commit6df68292ed6bbcd75811fda0f468dc65bf454256
tree0a0b14c5775b3c30a93824187865efb4fc4a1be3
parent6b8c570c40829873b01b7388a622ae04b63317aa
LU-4423 ptlrpc: use 64-bit times for ptlrpc_sec

Here we use an unsigned long to store the timeout for gc,
which is probably safe until 2106, but this patch converts it
to use ktime_get_real_seconds() and time64_t for consistency.

Linux-commit: 8cc980713ec9e6847896891c54562ad815c33424

Change-Id: I9c66ac818239debe676b78fbee5764cd5b69028c
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/24710
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
lustre/include/lustre_sec.h
lustre/ptlrpc/gss/gss_pipefs.c
lustre/ptlrpc/sec_gc.c
lustre/ptlrpc/sec_lproc.c