]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre: use time64_t for l_last_activity
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:06 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:34 +0000 (04:03 +0200)
commit353da32230dc797236467a74e3d76d1d51bfcb26
treee6afdfadde7dae2d2d89ca2f0a0f1f2b8d90be62
parent514c19c0399f6b816bfc52643e4f16da1140b7b6
staging/lustre: use time64_t for l_last_activity

The l_last_activity struct member is used to keep track lock hold
times, and it is printed for debugging purposes. For the elapsed
time, we can use 'long' here, but it's better to use time64_t
for storing the real time to avoid an overflow in 2038.

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_dlm.h
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
drivers/staging/lustre/lustre/ldlm/ldlm_request.c