From 5699619a954165de3eca71f7f9fa9e29becb3754 Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 19 Sep 2008 19:01:58 +0000 Subject: [PATCH] b=16777 16776 r=shadow, adilger, vitaly, robert - new clas_hash and using it for connections, held locks on server, etc --- lustre/ptlrpc/niobuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/ptlrpc/niobuf.c b/lustre/ptlrpc/niobuf.c index 2b117fe..8298e20 100644 --- a/lustre/ptlrpc/niobuf.c +++ b/lustre/ptlrpc/niobuf.c @@ -406,7 +406,7 @@ int ptlrpc_send_reply (struct ptlrpc_request *req, int flags) } if (req->rq_export == NULL || req->rq_export->exp_connection == NULL) - conn = ptlrpc_get_connection(req->rq_peer, req->rq_self, NULL); + conn = ptlrpc_connection_get(req->rq_peer, req->rq_self, NULL); else conn = ptlrpc_connection_addref(req->rq_export->exp_connection); @@ -427,7 +427,7 @@ int ptlrpc_send_reply (struct ptlrpc_request *req, int flags) atomic_dec (&svc->srv_outstanding_replies); ptlrpc_req_drop_rs(req); } - ptlrpc_put_connection(conn); + ptlrpc_connection_put(conn); return rc; } -- 1.8.3.1