]> git.baikalelectronics.ru Git - kernel.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)
commit36c6b81419f793623ee369627007e4f577b1cb0f
treefc37040889e61b0abccd3bc524fc2f0bae1657e3
parent5dc1f136c24ff58067be2197c8c055a272290a53
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