Raid0: execute backward takeover

After raid0 reshape is finished backward takeover has to be executed.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Adam Kwolek 2011-01-06 19:20:01 +11:00 committed by NeilBrown
parent 57f8c76946
commit 1b3cbac57f
1 changed files with 1 additions and 1 deletions

2
Grow.c
View File

@ -2047,7 +2047,7 @@ static int reshape_array(char *container, int fd, char *devname,
}
}
if (info->new_level != info->array.level) {
if (info->new_level != reshape.level) {
/* We need to wait for the reshape to finish
* (which will have happened unless
* odata < ndata) and then set the level