From 2a4b779468baba4f7d8a42c2d3f6e8680cddac64 Mon Sep 17 00:00:00 2001 From: niu Date: Wed, 9 Nov 2005 09:49:27 +0000 Subject: [PATCH] fix previous wrong assertion. b: 6027 --- lustre/osc/osc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 898c7c0..db8b42d 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -929,7 +929,7 @@ static int osc_brw_fini_request(struct ptlrpc_request *req, struct obdo *oa, if (rc < 0 && rc != -EDQUOT) RETURN(rc); - LASSERTF(!rc || rc == -EDQUOT, "rc = %d\n", rc); + LASSERTF(req->rq_repmsg != NULL, "rc = %d\n", rc); body = lustre_swab_repbuf(req, 0, sizeof(*body), lustre_swab_ost_body); if (body == NULL) { CERROR ("Can't unpack body\n"); -- 1.8.3.1