}
int
-dm_reinstate(char * mapname, char * path)
+dm_reinstate_path(char * mapname, char * path)
{
char message[32];
int dm_flush_map (char *, char *);
int dm_flush_maps (char *);
int dm_fail_path(char * mapname, char * path);
-int dm_reinstate(char * mapname, char * path);
+int dm_reinstate_path(char * mapname, char * path);
int dm_queue_if_no_path(char *mapname, int enable);
int dm_switchgroup(char * mapname, int index);
int dm_enablegroup(char * mapname, int index);
continue;
if (pp->dmstate == PSTATE_FAILED) {
- if (dm_reinstate(mpp->alias, pp->dev_t))
+ if (dm_reinstate_path(mpp->alias, pp->dev_t))
condlog(0, "error reinstating %s",
pp->dev);
}
if (!pp || !pp->mpp || !pp->mpp->alias)
return 1;
- return dm_reinstate(pp->mpp->alias, pp->dev_t);
+ return dm_reinstate_path(pp->mpp->alias, pp->dev_t);
}
int
if (!pp->mpp)
return;
- if (dm_reinstate(pp->mpp->alias, pp->dev_t))
+ if (dm_reinstate_path(pp->mpp->alias, pp->dev_t))
condlog(0, "%s: reinstate failed", pp->dev_t);
else {
condlog(2, "%s: reinstated", pp->dev_t);