Use shifts in minix filesystem.

* grub-core/fs/minix.c (GRUB_MINIX_ZONESZ): Use log_block_size.
	(GRUB_MINIX_ZONE2SECT): Likewise.
	(grub_minix_data): Replace block_size with log_block_size.
	(grub_minix_read_file): Use shifts.
	(grub_minix_mount): Check block size and take a logarithm.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-28 16:09:20 +02:00
parent ed9ba06dd0
commit 564dd58c2a
2 changed files with 29 additions and 13 deletions

View file

@ -1,3 +1,13 @@
2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
Use shifts in minix filesystem.
* grub-core/fs/minix.c (GRUB_MINIX_ZONESZ): Use log_block_size.
(GRUB_MINIX_ZONE2SECT): Likewise.
(grub_minix_data): Replace block_size with log_block_size.
(grub_minix_read_file): Use shifts.
(grub_minix_mount): Check block size and take a logarithm.
2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
Use shifts in squash4.