lmv_init_unlock(lmv);
CERROR("can't add %s, LMV module compiled for %d MDCs. "
"That many MDCs already configured.\n",
lmv_init_unlock(lmv);
CERROR("can't add %s, LMV module compiled for %d MDCs. "
"That many MDCs already configured.\n",
static int lmv_process_config(struct obd_device *obd, obd_count len, void *buf)
{
struct lustre_cfg *lcfg = buf;
static int lmv_process_config(struct obd_device *obd, obd_count len, void *buf)
{
struct lustre_cfg *lcfg = buf;
- obd_str2uuid(&mdc_uuid, lustre_cfg_string(lcfg, 1));
- rc = lmv_add_mdc(obd, &mdc_uuid);
+ obd_str2uuid(&tgt_uuid, lustre_cfg_string(lcfg, 1));
+ rc = lmv_add_mdc(obd, &tgt_uuid);