diff options
Diffstat (limited to 'fs/isofs/rock.h')
-rw-r--r-- | fs/isofs/rock.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/fs/isofs/rock.h b/fs/isofs/rock.h index ef03625431bb..1558cf22ef8a 100644 --- a/fs/isofs/rock.h +++ b/fs/isofs/rock.h | |||
@@ -7,78 +7,78 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | struct SU_SP_s { | 9 | struct SU_SP_s { |
10 | unsigned char magic[2]; | 10 | __u8 magic[2]; |
11 | unsigned char skip; | 11 | __u8 skip; |
12 | } __attribute__ ((packed)); | 12 | } __attribute__ ((packed)); |
13 | 13 | ||
14 | struct SU_CE_s { | 14 | struct SU_CE_s { |
15 | char extent[8]; | 15 | __u8 extent[8]; |
16 | char offset[8]; | 16 | __u8 offset[8]; |
17 | char size[8]; | 17 | __u8 size[8]; |
18 | }; | 18 | }; |
19 | 19 | ||
20 | struct SU_ER_s { | 20 | struct SU_ER_s { |
21 | unsigned char len_id; | 21 | __u8 len_id; |
22 | unsigned char len_des; | 22 | __u8 len_des; |
23 | unsigned char len_src; | 23 | __u8 len_src; |
24 | unsigned char ext_ver; | 24 | __u8 ext_ver; |
25 | char data[0]; | 25 | __u8 data[0]; |
26 | } __attribute__ ((packed)); | 26 | } __attribute__ ((packed)); |
27 | 27 | ||
28 | struct RR_RR_s { | 28 | struct RR_RR_s { |
29 | char flags[1]; | 29 | __u8 flags[1]; |
30 | } __attribute__ ((packed)); | 30 | } __attribute__ ((packed)); |
31 | 31 | ||
32 | struct RR_PX_s { | 32 | struct RR_PX_s { |
33 | char mode[8]; | 33 | __u8 mode[8]; |
34 | char n_links[8]; | 34 | __u8 n_links[8]; |
35 | char uid[8]; | 35 | __u8 uid[8]; |
36 | char gid[8]; | 36 | __u8 gid[8]; |
37 | }; | 37 | }; |
38 | 38 | ||
39 | struct RR_PN_s { | 39 | struct RR_PN_s { |
40 | char dev_high[8]; | 40 | __u8 dev_high[8]; |
41 | char dev_low[8]; | 41 | __u8 dev_low[8]; |
42 | }; | 42 | }; |
43 | 43 | ||
44 | struct SL_component { | 44 | struct SL_component { |
45 | unsigned char flags; | 45 | __u8 flags; |
46 | unsigned char len; | 46 | __u8 len; |
47 | char text[0]; | 47 | __u8 text[0]; |
48 | } __attribute__ ((packed)); | 48 | } __attribute__ ((packed)); |
49 | 49 | ||
50 | struct RR_SL_s { | 50 | struct RR_SL_s { |
51 | unsigned char flags; | 51 | __u8 flags; |
52 | struct SL_component link; | 52 | struct SL_component link; |
53 | } __attribute__ ((packed)); | 53 | } __attribute__ ((packed)); |
54 | 54 | ||
55 | struct RR_NM_s { | 55 | struct RR_NM_s { |
56 | unsigned char flags; | 56 | __u8 flags; |
57 | char name[0]; | 57 | char name[0]; |
58 | } __attribute__ ((packed)); | 58 | } __attribute__ ((packed)); |
59 | 59 | ||
60 | struct RR_CL_s { | 60 | struct RR_CL_s { |
61 | char location[8]; | 61 | __u8 location[8]; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | struct RR_PL_s { | 64 | struct RR_PL_s { |
65 | char location[8]; | 65 | __u8 location[8]; |
66 | }; | 66 | }; |
67 | 67 | ||
68 | struct stamp { | 68 | struct stamp { |
69 | char time[7]; | 69 | __u8 time[7]; /* actually 6 unsigned, 1 signed */ |
70 | } __attribute__ ((packed)); | 70 | } __attribute__ ((packed)); |
71 | 71 | ||
72 | struct RR_TF_s { | 72 | struct RR_TF_s { |
73 | char flags; | 73 | __u8 flags; |
74 | struct stamp times[0]; /* Variable number of these beasts */ | 74 | struct stamp times[0]; /* Variable number of these beasts */ |
75 | } __attribute__ ((packed)); | 75 | } __attribute__ ((packed)); |
76 | 76 | ||
77 | /* Linux-specific extension for transparent decompression */ | 77 | /* Linux-specific extension for transparent decompression */ |
78 | struct RR_ZF_s { | 78 | struct RR_ZF_s { |
79 | char algorithm[2]; | 79 | __u8 algorithm[2]; |
80 | char parms[2]; | 80 | __u8 parms[2]; |
81 | char real_size[8]; | 81 | __u8 real_size[8]; |
82 | }; | 82 | }; |
83 | 83 | ||
84 | /* | 84 | /* |
@@ -94,9 +94,9 @@ struct RR_ZF_s { | |||
94 | #define TF_LONG_FORM 128 | 94 | #define TF_LONG_FORM 128 |
95 | 95 | ||
96 | struct rock_ridge { | 96 | struct rock_ridge { |
97 | char signature[2]; | 97 | __u8 signature[2]; |
98 | unsigned char len; | 98 | __u8 len; |
99 | unsigned char version; | 99 | __u8 version; |
100 | union { | 100 | union { |
101 | struct SU_SP_s SP; | 101 | struct SU_SP_s SP; |
102 | struct SU_CE_s CE; | 102 | struct SU_CE_s CE; |