Whamcloud - gitweb
Spinlock twice.
authorliangzhen <liangzhen>
Wed, 13 Jul 2005 10:20:05 +0000 (10:20 +0000)
committerliangzhen <liangzhen>
Wed, 13 Jul 2005 10:20:05 +0000 (10:20 +0000)
lustre/obdecho/echo.c

index 9143ecf..11ce343 100644 (file)
@@ -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,