]> git.proxmox.com Git - grub2.git/commit
Use the common size routine in hostfs so we can read disks as well.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 29 Feb 2012 14:23:31 +0000 (15:23 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 29 Feb 2012 14:23:31 +0000 (15:23 +0100)
commita121c9648eb09fcc8fcfec3b2a24d2f50375462d
tree24fa2af5c7e3145a4b7c26de981724402fbc3efe
parentc66d641020fd1fa502151fe911957ac5f29251ac
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.
ChangeLog
grub-core/disk/geli.c
grub-core/kern/emu/hostdisk.c
grub-core/kern/emu/hostfs.c
include/grub/emu/hostdisk.h