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-3.4-testing] pygrub, reiserfs: Fix on-disk structur

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] pygrub, reiserfs: Fix on-disk structure definition.
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Dec 2009 00:30:38 -0800
Delivery-date: Wed, 23 Dec 2009 00:31:19 -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 1261554868 0
# Node ID cb1f86b224cc1e8bc146a722122020b519337e07
# Parent  6b0f9559fbd5c6e04c10c18953a77a41a0464440
pygrub, reiserfs: Fix on-disk structure definition.

Without this patch pyGRUB could not read ReiserFS.

Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
xen-unstable changeset:   20716:d3411ed9bd02
xen-unstable date:        Wed Dec 23 07:27:21 2009 +0000
---
 tools/libfsimage/reiserfs/fsys_reiserfs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 6b0f9559fbd5 -r cb1f86b224cc tools/libfsimage/reiserfs/fsys_reiserfs.c
--- a/tools/libfsimage/reiserfs/fsys_reiserfs.c Wed Dec 23 07:53:58 2009 +0000
+++ b/tools/libfsimage/reiserfs/fsys_reiserfs.c Wed Dec 23 07:54:28 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-3.4-testing] pygrub, reiserfs: Fix on-disk structure definition., Xen patchbot-3.4-testing <=