staging/lustre: partially use time64_t for capa expiry
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:47 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:06:19 +0000 (04:06 +0200)
commita6c8746d54047640e71572d3f48f0bf5708bc92f
tree29447b4c62bf00752e4653d562abde1df2bf21dd
parentef2e0f55ec2e893748f024e0873a58db9d1d10de
staging/lustre: partially use time64_t for capa expiry

Here, we actually have a problem in 2038 or at the latest in 2106 when
the lc_expiry variable on the wire protocol overflows, including on
64-bit architectures.

Now that the actual code was removed, only on-the wire structure
is left so we add in a y2038 warning to remind whoever gets to
implement it again about this problem.

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/lustre_idl.h