From: alex Date: Sun, 8 Aug 2004 22:09:46 +0000 (+0000) Subject: - minor cleanups X-Git-Tag: v1_7_100~1983 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=d444f45d334947950f35cedcd2e8397393a681f2 - minor cleanups --- diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 2ce8ead..cf2ae96 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -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); diff --git a/lustre/lov/lov_obd.c b/lustre/lov/lov_obd.c index 94cf673..c5147ba 100644 --- a/lustre/lov/lov_obd.c +++ b/lustre/lov/lov_obd.c @@ -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); }