2009-12-25 Felix Zielcke <fzielcke@z-51.de>

* util/hostdisk.c (open_device): Fix a comment.
This commit is contained in:
Felix Zielcke 2009-12-25 18:29:17 +01:00
parent 427d6aa453
commit 0ad46fd771
2 changed files with 19 additions and 14 deletions

View file

@ -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>
* util/grub-install.in (host_os): New variable.

View file

@ -348,7 +348,8 @@ open_device (const grub_disk_t disk, grub_disk_addr_t sector, int flags)
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);
if (is_partition)