From 0a666147ae86f6f63608d79a3329f774d4d62182 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 5 Apr 2004 18:19:03 +0000 Subject: [PATCH] Debugging for mdc_close oops. b=2410 r=robert --- lustre/mdc/mdc_request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index e1c3fed..136ecdf 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -497,6 +497,7 @@ int mdc_close(struct obd_export *exp, struct obdo *obdo, rc = l_wait_event(req->rq_reply_waitq, mdc_close_check_reply(req), &lwi); if (rc == 0) { + LASSERTF(req->rq_repmsg != NULL, "req = %p", req); rc = req->rq_repmsg->status; if (req->rq_repmsg->type == PTL_RPC_MSG_ERR) { DEBUG_REQ(D_ERROR, req, "type == PTL_RPC_MSG_ERR, err " -- 1.8.3.1