* grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
of function to allow further scanning for LVMs.
This commit is contained in:
parent
829ea451a4
commit
6f33215394
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
|
||||||
|
of function to allow further scanning for LVMs.
|
||||||
|
|
||||||
2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-04-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close
|
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close
|
||||||
|
|
|
@ -838,6 +838,7 @@ grub_lvm_scan_device (const char *name)
|
||||||
grub_disk_close (disk);
|
grub_disk_close (disk);
|
||||||
if (grub_errno == GRUB_ERR_OUT_OF_RANGE)
|
if (grub_errno == GRUB_ERR_OUT_OF_RANGE)
|
||||||
grub_errno = GRUB_ERR_NONE;
|
grub_errno = GRUB_ERR_NONE;
|
||||||
|
grub_print_error ();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue