diff options
| -rw-r--r-- | arch/s390/include/asm/statfs.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/s390/include/asm/statfs.h b/arch/s390/include/asm/statfs.h index 099a45579190..06cc70307ece 100644 --- a/arch/s390/include/asm/statfs.h +++ b/arch/s390/include/asm/statfs.h | |||
| @@ -12,19 +12,16 @@ | |||
| 12 | #ifndef __s390x__ | 12 | #ifndef __s390x__ |
| 13 | #include <asm-generic/statfs.h> | 13 | #include <asm-generic/statfs.h> |
| 14 | #else | 14 | #else |
| 15 | /* | ||
| 16 | * We can't use <asm-generic/statfs.h> because in 64-bit mode | ||
| 17 | * we mix ints of different sizes in our struct statfs. | ||
| 18 | */ | ||
| 15 | 19 | ||
| 16 | #ifndef __KERNEL_STRICT_NAMES | 20 | #ifndef __KERNEL_STRICT_NAMES |
| 17 | |||
| 18 | #include <linux/types.h> | 21 | #include <linux/types.h> |
| 19 | |||
| 20 | typedef __kernel_fsid_t fsid_t; | 22 | typedef __kernel_fsid_t fsid_t; |
| 21 | |||
| 22 | #endif | 23 | #endif |
| 23 | 24 | ||
| 24 | /* | ||
| 25 | * This is ugly -- we're already 64-bit clean, so just duplicate the | ||
| 26 | * definitions. | ||
| 27 | */ | ||
| 28 | struct statfs { | 25 | struct statfs { |
| 29 | int f_type; | 26 | int f_type; |
| 30 | int f_bsize; | 27 | int f_bsize; |
