From 5055cefcfad2a411c210a1d5145cc09af0911cdc Mon Sep 17 00:00:00 2001
From: ericm <ericm>
Date: Tue, 16 Oct 2007 18:34:20 +0000
Subject: [PATCH] branch: HEAD b13857: fix oops in error handling.

---
 lustre/ptlrpc/client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c
index 18ca9d20f6..cfa8e1f75c 100644
--- a/lustre/ptlrpc/client.c
+++ b/lustre/ptlrpc/client.c
@@ -405,7 +405,7 @@ ptlrpc_prep_req_pool(struct obd_import *imp, __u32 version, int opcode,
 
         RETURN(request);
 out_ctx:
-        sptlrpc_req_put_ctx(request, 1);
+        sptlrpc_cli_ctx_put(request->rq_cli_ctx, 1);
 out_free:
         class_import_put(imp);
         if (request->rq_pool)
-- 
GitLab