staging/lustre: use 64-bit ibn_incarnation computation
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:13 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:36 +0000 (04:03 +0200)
commit473c4e01029f6692be7ddc0e7f9b75dc933c7057
treec5779f2ebd53fa21bc5bf5690a34ea5c93c51693
parent70513c5d17b9812cc218e8b4c7826ebb5f375d9a
staging/lustre: use 64-bit ibn_incarnation computation

ibn_incarnation is a 64-bit value, but using timeval to compute
it will cause an overflow in 2038. This changes it to use
ktime_get_real_ts64() 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/o2iblnd/o2iblnd.c