Whamcloud - gitweb
Branch HEAD
authorrobert.read <robert.read>
Tue, 28 Oct 2008 23:17:00 +0000 (23:17 +0000)
committerrobert.read <robert.read>
Tue, 28 Oct 2008 23:17:00 +0000 (23:17 +0000)
b=17491
i=nathan
i=rread

Quick fix patch from behlendorf1@llnl.gov.

lustre/ptlrpc/service.c

index aaf8091..974f526 100644 (file)
@@ -679,7 +679,7 @@ static int ptlrpc_at_add_timed(struct ptlrpc_request *req)
         /* Add to sorted list.  Presumably latest rpcs will have the latest
            deadlines, so search backward. */
         list_for_each_entry_reverse(rq, &svc->srv_at_list, rq_timed_list) {
-                if (req->rq_deadline > rq->rq_deadline) {
+                if (req->rq_deadline >= rq->rq_deadline) {
                         list_add(&req->rq_timed_list, &rq->rq_timed_list);
                         found++;
                         break;