From: alex Date: Mon, 23 May 2005 15:38:39 +0000 (+0000) Subject: - grrr, they are unsigned ... X-Git-Tag: 1.4.10~1106 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=36e1612c1d41dd66d7347c133d9e79a26f4f74cf;p=fs%2Flustre-release.git - grrr, they are unsigned ... --- diff --git a/lustre/ptlrpc/pinger.c b/lustre/ptlrpc/pinger.c index 866e7eb..f8ec958 100644 --- a/lustre/ptlrpc/pinger.c +++ b/lustre/ptlrpc/pinger.c @@ -132,7 +132,7 @@ static void ptlrpc_pinger_process_import(struct obd_import *imp, imp->imp_force_verify = 0; spin_unlock_irqrestore(&imp->imp_lock, flags); - if ((imp->imp_next_ping - this_ping > 0) && + if (imp->imp_next_ping > this_ping && (imp->imp_next_ping - this_ping > obd_timeout * HZ)) { CWARN("wrong ping time %lu (current %lu)\n", imp->imp_next_ping, this_ping);