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
|
@ -520,7 +520,7 @@ grub_ext2_read_file (grub_fshelp_node_t node,
|
|||
pos, len, buf, grub_ext2_read_block,
|
||||
grub_cpu_to_le32 (node->inode.size)
|
||||
| (((grub_off_t) grub_cpu_to_le32 (node->inode.size_high)) << 32),
|
||||
LOG2_EXT2_BLOCK_SIZE (node->data));
|
||||
LOG2_EXT2_BLOCK_SIZE (node->data), 0);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue