Samuel Thibault
2008-Jun-20 17:40 UTC
[Xen-devel] [PATCH] PV-GRUB: fix reiserfs 64bit support
PV-GRUB: fix reiserfs 64bit support Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> diff -r c069dbd814cd stubdom/grub.patches/99minios --- a/stubdom/grub.patches/99minios Fri Jun 20 18:39:37 2008 +0100 +++ b/stubdom/grub.patches/99minios Fri Jun 20 18:39:46 2008 +0100 @@ -832,7 +832,18 @@ Index: grub/stage2/fsys_reiserfs.c ================================================================== --- grub.orig/stage2/fsys_reiserfs.c 2008-06-16 15:18:03.410933000 +0100 -+++ grub/stage2/fsys_reiserfs.c 2008-06-16 15:18:14.786009000 +0100 ++++ grub/stage2/fsys_reiserfs.c 2008-06-20 18:33:52.002100000 +0100 +@@ -224,8 +224,8 @@ + + struct disk_child + { +- unsigned long dc_block_number; /* Disk child''s block number. */ +- unsigned short dc_size; /* Disk child''s used space. */ ++ __u32 dc_block_number; /* Disk child''s block number. */ ++ __u16 dc_size; /* Disk child''s used space. */ + }; + + #define DC_SIZE (sizeof (struct disk_child)) @@ -369,7 +369,14 @@ static __inline__ unsigned long log2 (unsigned long word) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel