From: bobijam Date: Wed, 20 Aug 2008 02:33:52 +0000 (+0000) Subject: rollback, the rq_replay check already done before. X-Git-Tag: v1_7_100~1^281~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=65c1519a9d28bb466386ea5a36dee0683e577b07;p=fs%2Flustre-release.git rollback, the rq_replay check already done before. --- diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index 41ec931..64fc3e9 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -658,12 +658,6 @@ void mdc_set_open_replay_data(struct obd_client_handle *och, } spin_lock(&open_req->rq_lock); - if (!open_req->rq_replay) { - OBD_FREE(mod, sizeof(*mod)); - spin_unlock(&open_req->rq_lock); - return; - } - och->och_mod = mod; mod->mod_och = och; mod->mod_open_req = open_req;