From edefee2c3ec64d4e28a1e033d0facd858bdcf1b3 Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 17 Oct 2006 19:13:46 +0000 Subject: [PATCH] - small fix to prevent lost update of obd_next_recovery_transno value --- 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 442cf84..f90235d 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -1618,7 +1618,7 @@ int target_queue_recovery_request(struct ptlrpc_request *req, */ CWARN("Next recovery transno: "LPU64", current: "LPU64", replaying: %i\n", obd->obd_next_recovery_transno, transno, obd->obd_req_replaying); - if (transno <= obd->obd_next_recovery_transno && obd->obd_req_replaying) { + if (transno < obd->obd_next_recovery_transno && obd->obd_req_replaying) { /* Processing the queue right now, don't re-add. */ LASSERT(list_empty(&req->rq_list)); spin_unlock_bh(&obd->obd_processing_task_lock); -- 1.8.3.1