Avoid consuming lots of space and time if the first partition is not near the start of the disk (Debian bug #619458, Ubuntu bug #691569).
This commit is contained in:
parent
7bdeb3987a
commit
58ed62d221
5 changed files with 27 additions and 7 deletions
|
@ -49,6 +49,7 @@ struct grub_partition_map
|
|||
#ifdef GRUB_UTIL
|
||||
/* Determine sectors available for embedding. */
|
||||
grub_err_t (*embed) (struct grub_disk *disk, unsigned int *nsectors,
|
||||
unsigned int max_nsectors,
|
||||
grub_embed_type_t embed_type,
|
||||
grub_disk_addr_t **sectors);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue