Whamcloud - gitweb
fix typo
authorshadow <shadow>
Thu, 14 Aug 2008 20:56:44 +0000 (20:56 +0000)
committershadow <shadow>
Thu, 14 Aug 2008 20:56:44 +0000 (20:56 +0000)
lustre/ptlrpc/connection.c

index f3dba0f..2b9fa8d 100644 (file)
@@ -177,7 +177,7 @@ int ptlrpc_put_connection(struct ptlrpc_connection *c)
                 lustre_hash_delitem(conn_hash_body, &c->c_peer, &c->c_hash);
                 rc = lustre_hash_additem_unique(conn_unused_hash_body, &c->c_peer, 
                                                 &c->c_hash);
-                spin_lock(&conn_lock);
+                spin_unlock(&conn_lock);
                 if (rc != 0) {
                         CERROR("Cannot hash connection to conn_hash_body\n");
                         GOTO(ret, rc);