staging/lustre: use 64-bit times for ksnd_connd
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:21 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:37 +0000 (04:03 +0200)
commit74ad578f19959fc7af219752760c1dc0b2f78ced
treea5dfd368f3f993cc0da682a888aa211a8f7cdc63
parent05406826aafb658d51ba7ac2fc6870992776ef6d
staging/lustre: use 64-bit times for ksnd_connd

The connection starting/failing time stamps will overflow in 2038
on 32-bit machines, so we need to use time64_t and ktime_get_real_seconds()
instead.

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/lnet/klnds/socklnd/socklnd.c
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c