]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging/lustre: use 64-bit times in debug print
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:25 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:38 +0000 (04:03 +0200)
commit589bfa37692c61e6f07ed0d65fbfbd478694bc22
treefc37040889e61b0abccd3bc524fc2f0bae1657e3
parent80018a9edbc3180ae31a7197f9dacab975a7f5e2
staging/lustre: use 64-bit times in debug print

This adapts the format string and get_seconds() call to not
overflow in 2038 in the libcfs_debug_dumplog_internal()
function.

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/libcfs/debug.c