]> git.ipfire.org Git - thirdparty/grub.git/commit
Use shifts in UFS.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 31 Oct 2011 09:50:43 +0000 (10:50 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 31 Oct 2011 09:50:43 +0000 (10:50 +0100)
commit87661123b23d12bed46d90c3d6c11af7780beb88
treec9eed0ae90de5823280d063f18b88f988f9b5e0b
parent46bc1dc244f7e6461cc2d59f41a2181722c6c384
Use shifts in UFS.

* grub-core/fs/ufs.c (UFS_LOG_BLKSZ): New macro.
(grub_ufs_data): New field log2_blksz.
(grub_ufs_read_file): Use shifts.
(grub_ufs_mount): Check block size and logarithm it.
ChangeLog
grub-core/fs/ufs.c