]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5ec24140e72d3c9801e8f82b4b948c78d5c1990
treec5779f2ebd53fa21bc5bf5690a34ea5c93c51693
parent6706f0db97685ec483109c0ee36cd8374c706262
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