]> git.proxmox.com Git - grub2.git/commit
Fix AFFS with non-512B blocks.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 8 May 2012 02:38:19 +0000 (04:38 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 8 May 2012 02:38:19 +0000 (04:38 +0200)
commit6ae485aaef556576cd09cd15b606b4f173da4bed
tree4ededd5b7b8a06e341e91f09cde77128ba8cc262
parentd20fab84712ddfbae48a687dd2a31ec1aab2bb7c
Fix AFFS with non-512B blocks.

* grub-core/fs/affs.c (grub_affs_rblock): Make type uint32_t.
(AFFS_MAX_LOG_BLOCK_SIZE): New definition.
(grub_affs_data): Replace blocksize with log_blocksize.
(grub_affs_read_block): Fix non-512B blocks.
(grub_affs_read_symlink): Likewise.
(grub_affs_iterate_dir): Likewise. Fix freeing corruption.
(grub_affs_read): Fix non-512B blocks.
(grub_affs_label): Likewise.
(grub_affs_mtime): Likewise.
(grub_affs_mount): Fix block detection routine.
ChangeLog
grub-core/fs/affs.c