Whamcloud - gitweb
Don't reset oscc_gr after recovery.
authorrread <rread>
Mon, 12 Jul 2004 21:28:19 +0000 (21:28 +0000)
committerrread <rread>
Mon, 12 Jul 2004 21:28:19 +0000 (21:28 +0000)
lustre/osc/osc_create.c

index a6d3619..22d2a54 100644 (file)
@@ -266,10 +266,6 @@ int osc_create(struct obd_export *exp, struct obdo *oa,
                         oscc->oscc_flags &= ~OSCC_FLAG_RECOVERING;
                         oscc->oscc_last_id = oa->o_id;
 
-                        /* recover happen in mds_setup, before cobd_setup, so
-                         * reset oscc_gr = 0 here, it sould be no harm to CMD */
-                        oscc->oscc_gr = 0;
-
                         CDEBUG(D_HA, "%s: oscc recovery finished: %d\n", 
                                exp->exp_obd->obd_name, rc);
                         wake_up(&oscc->oscc_waitq);