X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flmv%2Flmv_obd.c;h=d89782698f7395f627714058b7c132e37de3655a;hp=daefddda3410942b491b9e7ac2ca8e2787ea6f9b;hb=322968acf183ab16d952cd3026f6580957b31259;hpb=4000adc51d76e329b0ba941a7524f9c77780fd4c diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index daefddd..d897826 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -1110,10 +1110,11 @@ static int lmv_setup(struct obd_device *obd, struct lustre_cfg *lcfg) lprocfs_obd_setup(obd, lvars.obd_vars); #ifdef LPROCFS { - rc = lprocfs_seq_create(obd->obd_proc_entry, "target_obd_status", + rc = lprocfs_seq_create(obd->obd_proc_entry, "target_obd", 0444, &lmv_proc_target_fops, obd); if (rc) - CWARN("Error adding target_obd_stats file (%d)\n", rc); + CWARN("%s: error adding LMV target_obd file: rc = %d\n", + obd->obd_name, rc); } #endif rc = fld_client_init(&lmv->lmv_fld, obd->obd_name,