From: yury Date: Tue, 10 Oct 2006 14:02:10 +0000 (+0000) Subject: - fixed missed braces in mdc_clear_open_replay_data() X-Git-Tag: v1_8_0_110~486^2~614 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=8453067abd821329973625ce39fae1fb6d9e7b7d;p=fs%2Flustre-release.git - fixed missed braces in mdc_clear_open_replay_data() --- diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c index 8209f23..18b2ebf 100644 --- a/lustre/mdc/mdc_request.c +++ b/lustre/mdc/mdc_request.c @@ -744,11 +744,12 @@ int mdc_clear_open_replay_data(struct obd_export *exp, * be freed. */ LASSERT(mod != LP_POISON); - if (mod != NULL) + if (mod != NULL) { if (mod->mod_open_req != NULL) ptlrpc_req_finished(mod->mod_open_req); mod->mod_och = NULL; - + } + och->och_mod = NULL; RETURN(0); }