2008-08-12 Bean <bean123ch@gmail.com>
* disk/raid.c (grub_raid_read): Fix a bug in raid0 code.
This commit is contained in:
parent
20024ab021
commit
05f9452b12
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2008-08-12 Bean <bean123ch@gmail.com>
|
||||||
|
|
||||||
|
* disk/raid.c (grub_raid_read): Fix a bug in raid0 code.
|
||||||
|
|
||||||
2008-08-11 Robert Millan <rmh@aybabtu.com>
|
2008-08-11 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* kern/i386/linuxbios/startup.S: Move from here ...
|
* kern/i386/linuxbios/startup.S: Move from here ...
|
||||||
|
|
|
@ -177,7 +177,7 @@ grub_raid_read (grub_disk_t disk, grub_disk_addr_t sector,
|
||||||
if (err)
|
if (err)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
buf += read_size;
|
buf += read_size << GRUB_DISK_SECTOR_BITS;
|
||||||
size -= read_size;
|
size -= read_size;
|
||||||
if (! size)
|
if (! size)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue