Whamcloud - gitweb
- fixed missed braces in mdc_clear_open_replay_data()
authoryury <yury>
Tue, 10 Oct 2006 14:02:10 +0000 (14:02 +0000)
committeryury <yury>
Tue, 10 Oct 2006 14:02:10 +0000 (14:02 +0000)
lustre/mdc/mdc_request.c

index 8209f23..18b2ebf 100644 (file)
@@ -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);
 }