return value should remain the same as result of Manage_Subdevs (last significant operation). Right now it is inverted what results in error status for successful operation. --- Incremental.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Incremental.c b/Incremental.c index abd7b81..09c3c41 100644 --- a/Incremental.c +++ b/Incremental.c @@ -1002,7 +1002,7 @@ static int array_try_spare(char *devname, int *dfdp, struct dev_policy *pol, } sysfs_free(chosen); } - return rv ? 0 : 1; + return rv; } static int partition_try_spare(char *devname, int *dfdp, struct dev_policy *pol, -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html