]> git.ipfire.org Git - thirdparty/grub.git/commit
Add generic logical block size support for UDF.
authorGiuseppe Caizzone <acaizzo@gmail.com>
Sun, 14 Nov 2010 15:58:50 +0000 (16:58 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 14 Nov 2010 15:58:50 +0000 (16:58 +0100)
commite53609331b2fdee08cb4494ddc772785b7ea32e8
tree248aff1ae1a04ea7bcd6924c4dae6e5f92ad6059
parentcb0229c5873daee17491aa9a4b1b3cf9c7dd5a47
Add generic logical block size support for UDF.

* grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed.
(GRUB_UDF_BLKSZ): Removed.
(struct grub_udf_data): New field "lbshift" to hold the logical block
size of the file system in log2 format. All users updated.
(sblocklist): Change type to unsigned.
(grub_udf_mount): Change type of "sblklist" to unsigned.
Move AVDP search before VRS recognition, because the latter requires
knowledge of the logical block size, which is detected during the
former.
Detect and validate logical block size during AVDP search, adding
support for block sizes 512, 1024 and 4096.
Make VRS recognition independent of block size.
ChangeLog
grub-core/fs/udf.c