On Wed, 26 Jan 2011 16:04:06 +0100 Adam Kwolek <adam.kwolek@xxxxxxxxx> wrote: > mdadm should verify if reshape is started before it goes > in to check-pointing machine. > > Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> > --- > > Grow.c | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/Grow.c b/Grow.c > index dae1b32..a60129a 100644 > --- a/Grow.c > +++ b/Grow.c > @@ -1934,7 +1934,12 @@ started: > } > } > > - start_reshape(sra); > + err = start_reshape(sra); > + if (err) { > + fprintf(stderr, Name ": Cannot start reshape for > %s\n", > + devname); > + goto release; > + } > if (restart) > sysfs_set_str(sra, NULL, "array_state", "active"); > Applied, thanks. NeilBrown -- 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