2009-11-16 Felix Zielcke <fzielcke@z-51.de>
* disk/mdraid_linux.c: Fix the unsupported RAID version error with metadata 1.x.
This commit is contained in:
parent
b870d7acfe
commit
4e962809b5
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-11-16 Felix Zielcke <fzielcke@z-51.de>
|
||||
|
||||
* disk/mdraid_linux.c: Fix the unsupported RAID version error
|
||||
with metadata 1.x.
|
||||
|
||||
2009-11-06 Felix Zielcke <fzielcke@z-51.de>
|
||||
|
||||
* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL.
|
||||
|
|
|
@ -346,9 +346,9 @@ superblock_0_90:
|
|||
if (sb_1x->level != 0 && sb_1x->level != 1 && sb_1x->level != 4 &&
|
||||
sb_1x->level != 5 && sb_1x->level != 6 && sb_1x->level != 10)
|
||||
{
|
||||
grub_free (sb_1x);
|
||||
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
|
||||
"Unsupported RAID level: %d", sb.level);
|
||||
"Unsupported RAID level: %d", sb_1x->level);
|
||||
grub_free (sb_1x);
|
||||
}
|
||||
/* 1.x superblocks don't have a fixed size on disk. So we have to
|
||||
read it again now that we now the max device count. */
|
||||
|
|
Loading…
Reference in a new issue