diff options
author | Adam Kwolek <adam.kwolek@intel.com> | 2011-01-26 16:04:06 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-01-28 10:40:42 +1000 |
commit | fab32c97025672c3dc9876978e05d59609f73b75 (patch) | |
tree | 949a73de07c35912ad1f6494d71698eaa577b85f | |
parent | a9c3e78fdd02abd0738bccbbb10d3a08deda1d2c (diff) |
FIX: start_reshape status should be checked
mdadm should verify if reshape is started before it goes
in to check-pointing machine.
Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | Grow.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1950,7 +1950,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"); |