]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre: use ktime_t for calculating elapsed time
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:07 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:34 +0000 (04:03 +0200)
commit453f24fa3119dd8fda1e36f74a6b439fc34358a7
treefb7230fb3e5cde8f708340384a86cbd87b70074d
parent353da32230dc797236467a74e3d76d1d51bfcb26
staging/lustre: use ktime_t for calculating elapsed time

process_param2_config() tries to print how much time has passed
across a call_usermodehelper() function, and uses struct timeval
for that.

We want to remove this structure, so this is better expressed
in terms of ktime_t and ktime_us_delta().

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/obdclass/obd_config.c