From 5fad600e673db41783f72d80e0e9a499a346ccf4 Mon Sep 17 00:00:00 2001 From: vitaly Date: Wed, 29 Apr 2009 21:58:51 +0000 Subject: [PATCH] Branch HEAD b=18851 i=tappro i=vs walk through abort_list in abort_lock_replay_queue() --- lustre/ldlm/ldlm_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 2f611a2..cb38fb4 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -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)) { -- 1.8.3.1