]> git.proxmox.com Git - grub2.git/commit - ChangeLog-2015
Several AFFS fixes.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 9 Nov 2011 10:43:39 +0000 (11:43 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 9 Nov 2011 10:43:39 +0000 (11:43 +0100)
commit52b656c037a679c74e9c49dd2c92f289a18b2d4c
tree35b4b1e1957e20f53b75048ea68b02b8854aaadd
parent438a746a3ff63ed0428818a4f03b181431199747
Several AFFS fixes.

* grub-core/fs/affs.c (grub_affs_bblock): Replace flags with version.
(GRUB_AFFS_FLAG_FFS): Removed.
(GRUB_AFFS_SYMLINK_SIZE): Likewise.
(GRUB_AFFS_FILETYPE_DIR): Make positive and unsigned.
(GRUB_AFFS_FILETYPE_DIR), (GRUB_AFFS_FILETYPE_REG): Fix a mix-up.
(grub_fshelp_node): Make block 32-bit.
Add block_cache and last_block_cache.
(grub_affs_read_block): Fill and use block cache.
(grub_affs_read_file): Removed.
(grub_affs_mount): Zero-fill node. Fix version check. Don't reread
boot block.
(grub_affs_read_symlink): Fix symlink size. Add a \0 at the end for
safety.
(grub_affs_iterate_dir): Use more appropriate types. Zero-fill allocated
space.
(grub_affs_close): Free block cache.
(grub_affs_read): Use grub_fshelp_read_file directly.
ChangeLog
grub-core/fs/affs.c