libcfs_str2net(lsi->lsi_lmd->lmd_nidnet)) {
CDEBUG(D_CONFIG, "skipping add_conn for %s\n",
uuid_str);
- rc = 0;
/* No processing! */
- break;
+ GOTO(out_inst, rc = 0);
}
}
OBD_ALLOC(lcfg_new, lustre_cfg_len(bufs.lcfg_bufcount,
bufs.lcfg_buflen));
if (!lcfg_new)
- GOTO(out, rc = -ENOMEM);
+ GOTO(out_inst, rc = -ENOMEM);
lustre_cfg_init(lcfg_new, lcfg->lcfg_command, &bufs);
lcfg_new->lcfg_num = lcfg->lcfg_num;
rc = class_process_config(lcfg_new);
OBD_FREE(lcfg_new, lustre_cfg_len(lcfg_new->lcfg_bufcount,
lcfg_new->lcfg_buflens));
+out_inst:
if (inst_name)
OBD_FREE(inst_name, inst_len);
break;