From d9d602dc1d648b01583f7da75fdcd338ecc331c5 Mon Sep 17 00:00:00 2001 From: bobijam Date: Wed, 20 Aug 2008 02:32:41 +0000 Subject: [PATCH] roll back, the rq_replay check already done before. --- lustre/mdc/mdc_request.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index 99eba5a..d7f2da5 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -606,12 +606,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; -- 1.8.3.1