diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 18ca9d20f65fc0d8e26d352a10eaef00f131e9ec..cfa8e1f75c57ba095902000dae17c1cdba8c3c72 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)