1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Remove temporary failures now, but continue to give INTERNAL_ERROR.

This commit is contained in:
Alasdair Kergon 2011-06-29 11:36:37 +00:00
parent 9591e7ede1
commit 600dc4168c

View File

@ -2059,7 +2059,7 @@ int dm_task_run(struct dm_task *dmt)
}
if ((suspended_counter = dm_get_suspended_counter()) &&
dmt->type == DM_DEVICE_RELOAD) {
dmt->type == DM_DEVICE_RELOAD)
log_error(INTERNAL_ERROR "Performing unsafe table load while %d device(s) "
"are known to be suspended: "
"%s%s%s %s%.0d%s%.0d%s%s",
@ -2073,8 +2073,6 @@ int dm_task_run(struct dm_task *dmt)
dmt->minor > 0 ? dmt->minor : 0,
dmt->major > 0 && dmt->minor == 0 ? "0" : "",
dmt->major > 0 ? ") " : "");
return 0;
}
/* FIXME Detect and warn if cookie set but should not be. */
repeat_ioctl: