From 415998b31c55bdc7140b05aabff008ef1acd9869 Mon Sep 17 00:00:00 2001 From: yury Date: Sun, 22 May 2005 09:44:39 +0000 Subject: [PATCH] - fixed CDEBUG message --- lustre/mds/handler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index c0c9279..391d8e8 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -3224,9 +3224,6 @@ static int mds_setup(struct obd_device *obd, obd_count len, void *buf) strncmp(lustre_cfg_string(lcfg, 5), "dumb", LUSTRE_CFG_BUFLEN(lcfg, 5))) { class_uuid_t uuid; - CDEBUG(D_OTHER, "MDS: %s is master for %s\n", - obd->obd_name, lustre_cfg_buf); - generate_random_uuid(uuid); class_uuid_unparse(uuid, &mds->mds_md_uuid); @@ -3237,6 +3234,9 @@ static int mds_setup(struct obd_device *obd, obd_count len, void *buf) memcpy(mds->mds_md_name, lustre_cfg_buf(lcfg, 5), LUSTRE_CFG_BUFLEN(lcfg, 5)); + CDEBUG(D_OTHER, "MDS: %s is master for %s\n", + obd->obd_name, mds->mds_md_name); + rc = mds_md_connect(obd, mds->mds_md_name); if (rc) { OBD_FREE(mds->mds_md_name, LUSTRE_CFG_BUFLEN(lcfg, 5)); -- 1.8.3.1