Whamcloud - gitweb
b=22056 hash_add not under spinlock.
[fs/lustre-release.git] / lustre / ptlrpc / connection.c
index a41b202..e27c226 100644 (file)
@@ -154,7 +154,7 @@ int ptlrpc_connection_init(void)
 
 void ptlrpc_connection_fini(void) {
         ENTRY;
-        cfs_hash_destroy(conn_hash);
+        cfs_hash_putref(conn_hash);
         EXIT;
 }