Whamcloud - gitweb
- fix typo in ptlrpc_set_next_timeout()
authoryury <yury>
Thu, 6 Nov 2008 13:00:47 +0000 (13:00 +0000)
committeryury <yury>
Thu, 6 Nov 2008 13:00:47 +0000 (13:00 +0000)
lustre/ptlrpc/client.c

index bec9ff6..c9b8a83 100644 (file)
@@ -1476,7 +1476,7 @@ int ptlrpc_set_next_timeout(struct ptlrpc_request_set *set)
 
                 /* Check those waiting for long reply unlink every one 
                  * second. */
-                if (req->rq_phase == RQ_PHASE_NEW) {
+                if (req->rq_phase == RQ_PHASE_UNREGISTERING) {
                         timeout = 1;
                         break;
                 }