]> 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)
commitfde7a38193e1b9fb7366f596cffb7d29b2d9561b
treefb7230fb3e5cde8f708340384a86cbd87b70074d
parentffbd235ee0d16f2364960786b9ed113245c15967
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