On Thu, Dec 2, 2010 at 12:19 AM, Adam Kwolek <adam.kwolek@xxxxxxxxx> wrote: > If error occurs mdadm exits with no information. > Unless I am missing another patch all return paths currently have an error message? ... if (!ent) { fprintf(stderr, Name ": unable to read /proc/mdstat\n"); return -1; } ... if (rv) { fprintf(stderr, Name ": failed to initiate container reshape%s%s\n", err ? ": " : "", err ? strerror(err) : ""); return rv; } return changed; ...and 'changed' is never negative. -- Dan -- 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