Commit 5cfba5df authored by David Woodhouse's avatar David Woodhouse

S390: Update comments about why we don't use <asm-generic/statfs.h>

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 52d90f4d
...@@ -12,19 +12,16 @@ ...@@ -12,19 +12,16 @@
#ifndef __s390x__ #ifndef __s390x__
#include <asm-generic/statfs.h> #include <asm-generic/statfs.h>
#else #else
/*
* We can't use <asm-generic/statfs.h> because in 64-bit mode
* we mix ints of different sizes in our struct statfs.
*/
#ifndef __KERNEL_STRICT_NAMES #ifndef __KERNEL_STRICT_NAMES
#include <linux/types.h> #include <linux/types.h>
typedef __kernel_fsid_t fsid_t; typedef __kernel_fsid_t fsid_t;
#endif #endif
/*
* This is ugly -- we're already 64-bit clean, so just duplicate the
* definitions.
*/
struct statfs { struct statfs {
int f_type; int f_type;
int f_bsize; int f_bsize;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment