summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-01-21 17:31:10 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-01-22 14:02:18 +0100
commit4e078146dff728f4865270a47710d57797e81eb6 (patch)
treee5c7dc216f515ac6bb97dbdb11fdd7c1dabf6c8a /arch/s390
parent0ff2fe5236a8b07742ae8f5d6f16bed2e31a1cf1 (diff)
downloadlinux-4e078146dff728f4865270a47710d57797e81eb6.tar.gz
linux-4e078146dff728f4865270a47710d57797e81eb6.tar.bz2
linux-4e078146dff728f4865270a47710d57797e81eb6.zip
s390/uapi: fix struct statfs64 definition
With b8668fd0a7e1b59f "s390/uapi: change struct statfs[64] member types to unsigned values" the size of a couple of struct statfs64 member got incorrectly changed from 64 to 32 bit for 32 bit builds. Fix this by changing the type of couple of struct statfs64 members from unsigned long to unsigned long long. The definition of struct compat_statfs64 was correct however. Cc: stable@vger.kernel.org # v3.10+ Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/uapi/asm/statfs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/s390/include/uapi/asm/statfs.h b/arch/s390/include/uapi/asm/statfs.h
index a61d538756f2..471eb09184d4 100644
--- a/arch/s390/include/uapi/asm/statfs.h
+++ b/arch/s390/include/uapi/asm/statfs.h
@@ -35,11 +35,11 @@ struct statfs {
struct statfs64 {
unsigned int f_type;
unsigned int f_bsize;
- unsigned long f_blocks;
- unsigned long f_bfree;
- unsigned long f_bavail;
- unsigned long f_files;
- unsigned long f_ffree;
+ unsigned long long f_blocks;
+ unsigned long long f_bfree;
+ unsigned long long f_bavail;
+ unsigned long long f_files;
+ unsigned long long f_ffree;
__kernel_fsid_t f_fsid;
unsigned int f_namelen;
unsigned int f_frsize;