From 435a8a53efd9f232cbe63be1ffa710a09bc8a00f Mon Sep 17 00:00:00 2001 From: rread Date: Tue, 12 Aug 2003 20:27:41 +0000 Subject: [PATCH] b=1720 r=adilger * free reply buffer whether we have ack locks or not. --- lustre/ldlm/ldlm_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index c2d500f..0ce39c3 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -836,7 +836,7 @@ void target_send_reply(struct ptlrpc_request *req, int rc, int fail_id) } else { obd_fail_loc |= OBD_FAIL_ONCE | OBD_FAILED; DEBUG_REQ(D_ERROR, req, "dropping reply"); - if (!exp && req->rq_repmsg) { + if (req->rq_repmsg) { OBD_FREE(req->rq_repmsg, req->rq_replen); req->rq_repmsg = NULL; } -- 1.8.3.1