From fa8d097de32e00c1a2b7623956e8b9bbae2c1b8b Mon Sep 17 00:00:00 2001
From: nathan <nathan>
Date: Wed, 30 May 2007 18:17:43 +0000
Subject: [PATCH] b=12571 i=nathan i=adilger don't unlock twice.  patch by
 wangdi

---
 lustre/ptlrpc/import.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c
index 9104a6dbca..6c32ce76dc 100644
--- a/lustre/ptlrpc/import.c
+++ b/lustre/ptlrpc/import.c
@@ -686,7 +686,6 @@ finish:
                 if (!exp) {
                         /* This could happen if export is cleaned during the 
                            connect attempt */
-                        spin_unlock(&imp->imp_lock);
                         CERROR("Missing export for %s\n", 
                                imp->imp_obd->obd_name);
                         GOTO(out, rc = -ENODEV);
-- 
GitLab