From 6a771cfed4f45b1f93296bf67f22efd538b2c8fa Mon Sep 17 00:00:00 2001 From: wangdi Date: Wed, 27 Sep 2006 13:54:35 +0000 Subject: [PATCH] Branch: b_new_cmd Destroy cookie oa should include the log cookie, which cause runtests failed again and again. --- 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 7c5cfbe..63a6aa4 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -623,10 +623,10 @@ static int osc_destroy(struct obd_export *exp, struct obdo *oa, req->rq_request_portal = OST_IO_PORTAL; body = lustre_msg_buf(req->rq_reqmsg, REQ_REC_OFF, sizeof(*body)); - body->oa = *oa; if (oti != NULL && oa->o_valid & OBD_MD_FLCOOKIE) memcpy(obdo_logcookie(oa), oti->oti_logcookies, sizeof(*oti->oti_logcookies)); + body->oa = *oa; osc_pack_capa(req, REQ_REC_OFF + 1, body, capa); -- 1.8.3.1