WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] pygrub, reiserfs: Fix on-disk structure d

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] pygrub, reiserfs: Fix on-disk structure definition.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Dec 2009 00:30:22 -0800
Delivery-date: Wed, 23 Dec 2009 00:30:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1261553241 0
# Node ID d3411ed9bd020b57dfcafc4fb967824fe880f31c
# Parent  afc296da27b70f298c5978c8daa3a758e992d6b2
pygrub, reiserfs: Fix on-disk structure definition.

Without this patch pyGRUB could not read ReiserFS.

Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
---
 tools/libfsimage/reiserfs/fsys_reiserfs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r afc296da27b7 -r d3411ed9bd02 tools/libfsimage/reiserfs/fsys_reiserfs.c
--- a/tools/libfsimage/reiserfs/fsys_reiserfs.c Wed Dec 23 07:26:31 2009 +0000
+++ b/tools/libfsimage/reiserfs/fsys_reiserfs.c Wed Dec 23 07:27:21 2009 +0000
@@ -222,8 +222,8 @@ struct item_head
 
 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))

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] pygrub, reiserfs: Fix on-disk structure definition., Xen patchbot-unstable <=