From: nathan Date: Wed, 30 May 2007 18:17:43 +0000 (+0000) Subject: b=12571 X-Git-Tag: v1_8_0_110~1569 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=fa8d097de32e00c1a2b7623956e8b9bbae2c1b8b;p=fs%2Flustre-release.git b=12571 i=nathan i=adilger don't unlock twice. patch by wangdi --- diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index 9104a6d..6c32ce7 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);