mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
2009-03-18 Michel Dänzer <michel@daenzer.net>
* fs/ext2.c (grub_ext2_read_block): Take endianness into account when checking inode flags for EXT4_EXTENTS_FLAG.
This commit is contained in:
1 parent
14aad8072c
commit
177b82ca8b
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2009-03-18 Michel Dänzer <michel@daenzer.net>
|
||||||
|
|
||||||
|
* fs/ext2.c (grub_ext2_read_block): Take endianness into account when
|
||||||
|
checking inode flags for EXT4_EXTENTS_FLAG.
|
||||||
|
|
||||||
2009-03-18 Robert Millan <rmh@aybabtu.com>
|
2009-03-18 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* loader/i386/linux.c: Include `<grub/video.h>' and
|
* loader/i386/linux.c: Include `<grub/video.h>' and
|
||||||
|
|||||||
@@ -385,7 +385,7 @@ grub_ext2_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock)
|
|||||||
unsigned int blksz = EXT2_BLOCK_SIZE (data);
|
unsigned int blksz = EXT2_BLOCK_SIZE (data);
|
||||||
int log2_blksz = LOG2_EXT2_BLOCK_SIZE (data);
|
int log2_blksz = LOG2_EXT2_BLOCK_SIZE (data);
|
||||||
|
|
||||||
if (inode->flags & EXT4_EXTENTS_FLAG)
|
if (grub_le_to_cpu32(inode->flags) & EXT4_EXTENTS_FLAG)
|
||||||
{
|
{
|
||||||
char buf[EXT2_BLOCK_SIZE(data)];
|
char buf[EXT2_BLOCK_SIZE(data)];
|
||||||
struct grub_ext4_extent_header *leaf;
|
struct grub_ext4_extent_header *leaf;
|
||||||
|
|||||||
Reference in new issue
Block a user