diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-12 00:45:51 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-12 00:45:51 -0700 |
commit | b2d201bd169a60b7c75649dafc2180be5dc12fa0 (patch) | |
tree | e9f9a11036c0bf4407fea1d3e2144a85e6d550ff /drivers/staging/lustre/lnet/selftest/conrpc.c | |
parent | staging: lustre: remove cfs_time_current_sec wrapper (diff) | |
download | linux-dev-b2d201bd169a60b7c75649dafc2180be5dc12fa0.tar.xz linux-dev-b2d201bd169a60b7c75649dafc2180be5dc12fa0.zip |
staging: lustre: remove cfs_duration_t typedef
Just use 'long' as that is what it was defined as.
Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Cc: hpdd-discuss <hpdd-discuss@lists.01.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/conrpc.c')
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/conrpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/conrpc.c b/drivers/staging/lustre/lnet/selftest/conrpc.c index 6d9c45acdaa3..a3a60d6e9081 100644 --- a/drivers/staging/lustre/lnet/selftest/conrpc.c +++ b/drivers/staging/lustre/lnet/selftest/conrpc.c @@ -477,7 +477,7 @@ lstcon_rpc_trans_interpreter(lstcon_rpc_trans_t *trans, lstcon_rpc_t *crpc; srpc_msg_t *msg; lstcon_node_t *nd; - cfs_duration_t dur; + long dur; struct timeval tv; int error; @@ -503,7 +503,7 @@ lstcon_rpc_trans_interpreter(lstcon_rpc_trans_t *trans, nd = crpc->crp_node; - dur = (cfs_duration_t)cfs_time_sub(crpc->crp_stamp, + dur = (long)cfs_time_sub(crpc->crp_stamp, (unsigned long)console_session.ses_id.ses_stamp); cfs_duration_usec(dur, &tv); |