X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fclient.c;h=45899c8a73c043ed4d7725202f7d71820056a3f3;hp=a41cd32edec11c7cf98ced6209196cd13ec9345a;hb=7186c88d389c236f5fe887e3c7f35f2249f8aa86;hpb=349de1e30b10ffb8501e6e23dda75963baf8c063 diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index a41cd32..45899c8 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -2276,8 +2276,8 @@ static void __ptlrpc_free_req(struct ptlrpc_request *request, int locked) class_import_put(request->rq_import); request->rq_import = NULL; } - if (request->rq_bulk != NULL) - ptlrpc_free_bulk(request->rq_bulk); + if (request->rq_bulk != NULL) + ptlrpc_free_bulk_pin(request->rq_bulk); if (request->rq_reqbuf != NULL || request->rq_clrbuf != NULL) sptlrpc_cli_free_reqbuf(request);