staging/lustre: use 64-bit times for ptlrpc_sec
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:29 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:06:16 +0000 (04:06 +0200)
commit8cc980713ec9e6847896891c54562ad815c33424
treec34c4c3a9b8f4a8a3f9ee75513101f5b21a31c53
parent986ef135c2afce959971b0086fc04e0f9f654120
staging/lustre: 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.

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_sec.h
drivers/staging/lustre/lustre/ptlrpc/sec_gc.c
drivers/staging/lustre/lustre/ptlrpc/sec_lproc.c