]> git.ipfire.org Git - thirdparty/grub.git/commit
Use shifts in squash4.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 28 Oct 2011 14:05:16 +0000 (16:05 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 28 Oct 2011 14:05:16 +0000 (16:05 +0200)
commited9ba06dd011b1e66bcb757f4cb5e4a4db54ecbc
treef81b56c4ea2af002874539a227ca16eb21e9b85b
parentad03fe768e8b47cb51612dfa3545fd1a892bbe7f
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.
ChangeLog
grub-core/fs/squash4.c