Whamcloud - gitweb
b=12571
authornathan <nathan>
Wed, 30 May 2007 18:17:43 +0000 (18:17 +0000)
committernathan <nathan>
Wed, 30 May 2007 18:17:43 +0000 (18:17 +0000)
i=nathan
i=adilger
don't unlock twice.  patch by wangdi

lustre/ptlrpc/import.c

index 9104a6d..6c32ce7 100644 (file)
@@ -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);