Flush block cache on adding disk to device map.
* grub-core/kern/emu/hostdisk.c (flush_initial_buffer): New function. (grub_hostdisk_os_dev_to_grub_drive): Call flush_initial_buffer on adding. (read_device_map): Likewise. (open_device): Flush on opening.
This commit is contained in:
parent
690434e81d
commit
f1a6254cf1
2 changed files with 34 additions and 0 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2012-05-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Flush block cache on adding disk to device map.
|
||||
|
||||
* grub-core/kern/emu/hostdisk.c (flush_initial_buffer): New function.
|
||||
(grub_hostdisk_os_dev_to_grub_drive): Call flush_initial_buffer on
|
||||
adding.
|
||||
(read_device_map): Likewise.
|
||||
(open_device): Flush on opening.
|
||||
|
||||
2012-05-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/cpio.c (grub_cpio_find_file): Handle prefix.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue