From: vitaly Date: Wed, 29 Apr 2009 21:58:51 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_180~46 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5fad600e673db41783f72d80e0e9a499a346ccf4;p=fs%2Flustre-release.git Branch HEAD b=18851 i=tappro i=vs walk through abort_list in abort_lock_replay_queue() --- 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)) {