Whamcloud - gitweb
- minor cleanups
authoralex <alex>
Sun, 8 Aug 2004 22:09:46 +0000 (22:09 +0000)
committeralex <alex>
Sun, 8 Aug 2004 22:09:46 +0000 (22:09 +0000)
lustre/lmv/lmv_obd.c
lustre/lov/lov_obd.c

index 2ce8ead..cf2ae96 100644 (file)
@@ -1533,10 +1533,6 @@ int lmv_obd_create_single(struct obd_export *exp, struct obdo *oa,
         int rc = 0;
         ENTRY;
 
-        rc = lmv_check_connect(obd);
-       if (rc)
-               RETURN(rc);
-
         LASSERT(ea == NULL);
         LASSERT(oa->o_mds < lmv->desc.ld_tgt_count);
 
index 94cf673..c5147ba 100644 (file)
@@ -193,7 +193,7 @@ static int lov_connect_obd(struct obd_device *obd, struct lov_tgt_desc *tgt,
                                            name);
                 if (osc_symlink == NULL) {
                         CERROR("could not register LOV target "
-                               "/proc/fs/lustre/%s/%s/target_obds/%s.",
+                               "/proc/fs/lustre/%s/%s/target_obds/%s\n",
                                obd->obd_type->typ_name, obd->obd_name,
                                osc_obd->obd_name);
                         lprocfs_remove(lov_proc_dir);
@@ -286,7 +286,7 @@ static int lov_disconnect_obd(struct obd_device *obd, struct lov_tgt_desc *tgt,
                 if (osc_symlink) {
                         lprocfs_remove(osc_symlink);
                 } else {
-                        CERROR("/proc/fs/lustre/%s/%s/target_obds/%s missing.",
+                        CERROR("/proc/fs/lustre/%s/%s/target_obds/%s missing\n",
                                obd->obd_type->typ_name, obd->obd_name,
                                osc_obd->obd_name);
                 }