Whamcloud - gitweb
LU-1585 lnet: Fix an incorrect timestamp calculation in lst.c
authorDoug Oucharek <doug@whamcloud.com>
Thu, 26 Jul 2012 05:21:46 +0000 (22:21 -0700)
committerJohann Lombardi <johann.lombardi@intel.com>
Mon, 1 Oct 2012 10:37:11 +0000 (06:37 -0400)
commit229c0f3886be0b0ae5aa809dd4ebd6807e32ebc9
tree4b6c0b914b94e11d244590941984022089f8ecd0
parentf5ff7696c82bae3142e9a287fe5684ede0ad374d
LU-1585 lnet: Fix an incorrect timestamp calculation in lst.c

The operation in routine lst_timeval_diff() (in lst.c) has
a bug. It uses tv_sec where it should be using tv_usec.

Signed-off-by: Doug Oucharek <doug@whamcloud.com>
Change-Id: I898dacd3d4a2c84594148d0514fda731d24a49bf
Reviewed-on: http://review.whamcloud.com/3474
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Liang Zhen <liang@whamcloud.com>
Reviewed-by: Isaac Huang <he.huang@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lnet/utils/lst.c