Fix wrapped HFS+ handling.
* grub-core/fs/fshelp.c (grub_fshelp_read_file): New argument blocks_start. All users updated. * grub-core/fs/hfsplus.c (grub_hfsplus_read_block): Don't add wrapping offset. (grub_hfsplus_read_file): Pass embedding offset to fshelp_read_file.
This commit is contained in:
parent
607d282b29
commit
f417ed0432
11 changed files with 25 additions and 14 deletions
|
@ -498,7 +498,7 @@ grub_affs_read (grub_file_t file, char *buf, grub_size_t len)
|
|||
file->read_hook,
|
||||
file->offset, len, buf, grub_affs_read_block,
|
||||
grub_be_to_cpu32 (data->diropen.di.size),
|
||||
data->log_blocksize);
|
||||
data->log_blocksize, 0);
|
||||
}
|
||||
|
||||
static grub_int32_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue