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.
This commit is contained in:
parent
d20fab8471
commit
6ae485aaef
2 changed files with 83 additions and 40 deletions
15
ChangeLog
15
ChangeLog
|
@ -1,3 +1,18 @@
|
|||
2012-05-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
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.
|
||||
|
||||
2012-05-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Add filesystem mtime to AFFS.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue