From: ericm Date: Wed, 18 Jun 2008 19:07:38 +0000 (+0000) Subject: branch: HEAD X-Git-Tag: v1_9_50~364 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=e7ddc02babf05dc7879d765664ea339153acb7bd;hp=f6f2c0a553229a236d57d8b440c852a737da7248;ds=sidebyside branch: HEAD fix sanity check in mdt_req_handle. b=16076 r=wangdi r=umka --- diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 82225d8..3182205 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -2097,9 +2097,11 @@ static int mdt_req_handle(struct mdt_thread_info *info, * only */ rc = h->mh_act(info); - if (rc == 0 && req->rq_reply_state == NULL) { - DEBUG_REQ(D_ERROR, req, "MDT \"handler\" %s did not pack " - "reply and returned 0 error\n", h->mh_name); + if (rc == 0 && + !req->rq_no_reply && req->rq_reply_state == NULL) { + DEBUG_REQ(D_ERROR, req, "MDT \"handler\" %s did not " + "pack reply and returned 0 error\n", + h->mh_name); LBUG(); } serious = is_serious(rc);