2009-12-25 Felix Zielcke <fzielcke@z-51.de>
* util/hostdisk.c (open_device): Fix a comment.
This commit is contained in:
parent
427d6aa453
commit
0ad46fd771
2 changed files with 19 additions and 14 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2009-12-25 Felix Zielcke <fzielcke@z-51.de>
|
||||||
|
|
||||||
|
* util/hostdisk.c (open_device): Fix a comment.
|
||||||
|
|
||||||
2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
|
2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
* util/grub-install.in (host_os): New variable.
|
* util/grub-install.in (host_os): New variable.
|
||||||
|
|
|
@ -348,7 +348,8 @@ open_device (const grub_disk_t disk, grub_disk_addr_t sector, int flags)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make the buffer cache consistent with the physical disk. */
|
/* Flush the buffer cache to the physical disk.
|
||||||
|
XXX: This also empties the buffer cache. */
|
||||||
ioctl (fd, BLKFLSBUF, 0);
|
ioctl (fd, BLKFLSBUF, 0);
|
||||||
|
|
||||||
if (is_partition)
|
if (is_partition)
|
||||||
|
|
Loading…
Reference in a new issue