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