From: shadow Date: Thu, 14 Aug 2008 20:56:44 +0000 (+0000) Subject: fix typo X-Git-Tag: v1_9_50~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c5b35b8b825de314e6b356c5a7b4e49a5b39ebb1;p=fs%2Flustre-release.git fix typo --- diff --git a/lustre/ptlrpc/connection.c b/lustre/ptlrpc/connection.c index f3dba0f..2b9fa8d 100644 --- a/lustre/ptlrpc/connection.c +++ b/lustre/ptlrpc/connection.c @@ -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);