Use shifts in squash4.

* grub-core/fs/squash4.c (grub_squash_data): New field log2_blksz.
	(squash_mount): Check block size and take logarithm.
	(direct_read): Use shifts.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-28 16:05:16 +02:00
parent ad03fe768e
commit ed9ba06dd0
2 changed files with 21 additions and 6 deletions

View file

@ -1,3 +1,11 @@
2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
Use shifts in squash4.
* grub-core/fs/squash4.c (grub_squash_data): New field log2_blksz.
(squash_mount): Check block size and take logarithm.
(direct_read): Use shifts.
2011-10-28 Vladimir Serbinenko <phcoder@gmail.com>
Correct befs block counting logic.