Whamcloud - gitweb
Branch HEAD
authorvitaly <vitaly>
Wed, 29 Apr 2009 21:58:51 +0000 (21:58 +0000)
committervitaly <vitaly>
Wed, 29 Apr 2009 21:58:51 +0000 (21:58 +0000)
b=18851
i=tappro
i=vs

walk through abort_list in abort_lock_replay_queue()

lustre/ldlm/ldlm_lib.c

index 2f611a2..cb38fb4 100644 (file)
@@ -1245,7 +1245,7 @@ static void abort_lock_replay_queue(struct obd_device *obd)
         spin_lock_bh(&obd->obd_processing_task_lock);
         list_splice_init(&obd->obd_lock_replay_queue, &abort_list);
         spin_unlock_bh(&obd->obd_processing_task_lock);
-        list_for_each_entry_safe(req, n, &obd->obd_lock_replay_queue, rq_list){
+        list_for_each_entry_safe(req, n, &abort_list, rq_list){
                 DEBUG_REQ(D_ERROR, req, "aborted:");
                 req->rq_status = -ENOTCONN;
                 if (ptlrpc_error(req)) {