diff options
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r-- | arch/s390/include/asm/compat.h | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/arch/s390/include/asm/compat.h b/arch/s390/include/asm/compat.h index da3df9f6eded..c1e7c646727c 100644 --- a/arch/s390/include/asm/compat.h +++ b/arch/s390/include/asm/compat.h | |||
@@ -140,18 +140,33 @@ struct compat_flock64 { | |||
140 | }; | 140 | }; |
141 | 141 | ||
142 | struct compat_statfs { | 142 | struct compat_statfs { |
143 | s32 f_type; | 143 | u32 f_type; |
144 | s32 f_bsize; | 144 | u32 f_bsize; |
145 | s32 f_blocks; | 145 | u32 f_blocks; |
146 | s32 f_bfree; | 146 | u32 f_bfree; |
147 | s32 f_bavail; | 147 | u32 f_bavail; |
148 | s32 f_files; | 148 | u32 f_files; |
149 | s32 f_ffree; | 149 | u32 f_ffree; |
150 | compat_fsid_t f_fsid; | 150 | compat_fsid_t f_fsid; |
151 | s32 f_namelen; | 151 | u32 f_namelen; |
152 | s32 f_frsize; | 152 | u32 f_frsize; |
153 | s32 f_flags; | 153 | u32 f_flags; |
154 | s32 f_spare[4]; | 154 | u32 f_spare[4]; |
155 | }; | ||
156 | |||
157 | struct compat_statfs64 { | ||
158 | u32 f_type; | ||
159 | u32 f_bsize; | ||
160 | u64 f_blocks; | ||
161 | u64 f_bfree; | ||
162 | u64 f_bavail; | ||
163 | u64 f_files; | ||
164 | u64 f_ffree; | ||
165 | compat_fsid_t f_fsid; | ||
166 | u32 f_namelen; | ||
167 | u32 f_frsize; | ||
168 | u32 f_flags; | ||
169 | u32 f_spare[4]; | ||
155 | }; | 170 | }; |
156 | 171 | ||
157 | #define COMPAT_RLIM_OLD_INFINITY 0x7fffffff | 172 | #define COMPAT_RLIM_OLD_INFINITY 0x7fffffff |