From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: [PATCH] PV-GRUB: fix reiserfs 64bit support Date: Fri, 20 Jun 2008 18:40:03 +0100 Message-ID: <20080620174003.GA14324@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org PV-GRUB: fix reiserfs 64bit support Signed-off-by: Samuel Thibault 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)