- /* Mountconf transitional hack, should go away after 1.6.
- 1.4.7 uses the old names, so translate back if the
- mountconf flag is set.
- 1.6 should set this flag, and translate the other way here
- if not set. */
- if (lcfg->lcfg_flags & LCFG_FLG_MOUNTCONF){
- char *tmp = NULL;
- if (strcmp(typename, "mds") == 0)
- tmp = "mdt";
- if (strcmp(typename, "mdt") == 0)
- tmp = "mds";
- if (strcmp(typename, "osd") == 0)
- tmp = "obdfilter";
- if (tmp) {
- LCONSOLE_WARN("Using type %s for %s %s\n", tmp,
- MKSTR(typename), MKSTR(name));
- typename = tmp;
- }
- }
-