From 01cf5cc1cd315381d7ed54e8d0f91beb8e335033 Mon Sep 17 00:00:00 2001 From: liangzhen Date: Wed, 13 Jul 2005 10:20:05 +0000 Subject: [PATCH] Spinlock twice. --- lustre/obdecho/echo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lustre/obdecho/echo.c b/lustre/obdecho/echo.c index 9143ecf..11ce343 100644 --- a/lustre/obdecho/echo.c +++ b/lustre/obdecho/echo.c @@ -76,7 +76,6 @@ static int echo_disconnect(struct obd_export *exp, unsigned long flags) spin_lock_irqsave(&exp->exp_lock, irqflags); exp->exp_flags = flags; /* complete all outstanding replies */ - spin_lock_irqsave(&exp->exp_lock, irqflags); while (!list_empty(&exp->exp_outstanding_replies)) { struct ptlrpc_reply_state *rs = list_entry(exp->exp_outstanding_replies.next, -- 1.8.3.1