vserver 1.9.3
[linux-2.6.git] / include / linux / efs_vh.h
index b9d7e4d..b3df61e 100644 (file)
 
 struct volume_directory {
        char    vd_name[VDNAMESIZE];    /* name */
-       int     vd_lbn;                 /* logical block number */
-       int     vd_nbytes;              /* file length in bytes */
+       __be32  vd_lbn;                 /* logical block number */
+       __be32  vd_nbytes;              /* file length in bytes */
 };
 
 struct partition_table {       /* one per logical partition */
-       int     pt_nblks;       /* # of logical blks in partition */
-       int     pt_firstlbn;    /* first lbn of partition */
-       int     pt_type;        /* use of partition */
+       __be32  pt_nblks;       /* # of logical blks in partition */
+       __be32  pt_firstlbn;    /* first lbn of partition */
+       __be32  pt_type;        /* use of partition */
 };
 
 struct volume_header {
-       int     vh_magic;                       /* identifies volume header */
-       short   vh_rootpt;                      /* root partition number */
-       short   vh_swappt;                      /* swap partition number */
+       __be32  vh_magic;                       /* identifies volume header */
+       __be16  vh_rootpt;                      /* root partition number */
+       __be16  vh_swappt;                      /* swap partition number */
        char    vh_bootfile[BFNAMESIZE];        /* name of file to boot */
        char    pad[48];                        /* device param space */
        struct volume_directory vh_vd[NVDIR];   /* other vol hdr contents */
        struct partition_table  vh_pt[NPARTAB]; /* device partition layout */
-       int     vh_csum;                        /* volume header checksum */
-       int     vh_fill;                        /* fill out to 512 bytes */
+       __be32  vh_csum;                        /* volume header checksum */
+       __be32  vh_fill;                        /* fill out to 512 bytes */
 };
 
 /* partition type sysv is used for EFS format CD-ROM partitions */