]> sourceware.org Git - lvm2.git/commitdiff
Remove temporary failures now, but continue to give INTERNAL_ERROR.
authorAlasdair Kergon <agk@redhat.com>
Wed, 29 Jun 2011 11:36:37 +0000 (11:36 +0000)
committerAlasdair Kergon <agk@redhat.com>
Wed, 29 Jun 2011 11:36:37 +0000 (11:36 +0000)
libdm/ioctl/libdm-iface.c

index 51fec9418dcab22061f6d323eb412887c71e9ffb..53604f86d042a6787fd053e9f4ad22f299d863d0 100644 (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:
This page took 0.034021 seconds and 5 git commands to generate.