Use the common size routine in hostfs so we can read disks as well.
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors): Rename to .. (grub_util_get_fd_size): ... this. Return size in bytes. All users updated. * grub-core/kern/emu/hostfs.c (grub_hostfs_open): Use grub_util_get_fd_size.
This commit is contained in:
parent
c66d641020
commit
a121c9648e
5 changed files with 24 additions and 13 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Use the common size routine in hostfs so we can read disks as well.
|
||||
|
||||
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors): Rename to ..
|
||||
(grub_util_get_fd_size): ... this. Return size in bytes.
|
||||
All users updated.
|
||||
* grub-core/kern/emu/hostfs.c (grub_hostfs_open): Use
|
||||
grub_util_get_fd_size.
|
||||
|
||||
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors) [__APPLE__]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue