Whamcloud - gitweb
LU-1302 llog: llog test update and fixes
[fs/lustre-release.git] / lustre / lmv / lmv_obd.c
index 1cd161b..a80bf66 100644 (file)
@@ -49,7 +49,6 @@
 #include <liblustre.h>
 #endif
 
-#include <lustre_log.h>
 #include <obd_support.h>
 #include <lustre_lib.h>
 #include <lustre_net.h>
@@ -514,12 +513,6 @@ int lmv_add_target(struct obd_device *obd, struct obd_uuid *tgt_uuid)
                         CERROR("Target %s not attached\n", tgt_uuid->uuid);
                         RETURN(-EINVAL);
                 }
-
-                rc = obd_llog_init(obd, &obd->obd_olg, mdc_obd, NULL);
-                if (rc) {
-                        lmv_init_unlock(lmv);
-                        CERROR("lmv failed to setup llogging subsystems\n");
-                }
         }
         cfs_spin_lock(&lmv->lmv_lock);
         tgt = lmv->tgts + lmv->desc.ld_tgt_count++;
@@ -2636,9 +2629,6 @@ static int lmv_precleanup(struct obd_device *obd, enum obd_cleanup_stage stage)
         case OBD_CLEANUP_EXPORTS:
                 fld_client_proc_fini(&lmv->lmv_fld);
                 lprocfs_obd_cleanup(obd);
-                rc = obd_llog_finish(obd, 0);
-                if (rc != 0)
-                        CERROR("failed to cleanup llogging subsystems\n");
                 break;
         default:
                 break;