From c5b35b8b825de314e6b356c5a7b4e49a5b39ebb1 Mon Sep 17 00:00:00 2001 From: shadow <shadow> Date: Thu, 14 Aug 2008 20:56:44 +0000 Subject: [PATCH] fix typo --- lustre/ptlrpc/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/connection.c b/lustre/ptlrpc/connection.c index f3dba0f6a4..2b9fa8dd43 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); -- GitLab