X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Fselftest%2Frpc.c;h=4079698405bef48aa0f5e661dd29d61c6d51bddb;hp=090956f0577ab5408018e1995a92a4026aa9d267;hb=31aa2bcc2bf65d79fbdc551870c0999596bb2eeb;hpb=9ea9c66d1719672bf456368324f6de08bfbec3c1 diff --git a/lnet/selftest/rpc.c b/lnet/selftest/rpc.c index 090956f..4079698 100644 --- a/lnet/selftest/rpc.c +++ b/lnet/selftest/rpc.c @@ -1091,8 +1091,7 @@ srpc_add_client_rpc_timer(srpc_client_rpc_t *rpc) INIT_LIST_HEAD(&timer->stt_list); timer->stt_data = rpc; timer->stt_func = srpc_client_rpc_expired; - timer->stt_expires = cfs_time_add(rpc->crpc_timeout, - ktime_get_real_seconds()); + timer->stt_expires = ktime_get_real_seconds() + rpc->crpc_timeout; stt_add_timer(timer); return; }