[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] pygrub, reiserfs: Fix on-disk structure definition.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |