On Tue, Jan 21, 2014 at 09:49:21AM +0100, Heiko Carstens wrote: > On Mon, Jan 20, 2014 at 09:15:45PM -0500, Mike Frysinger wrote: > > since linux-3.10, i can no longer boot when CONFIG_64BIT=n. using the config > > that works on 3.9.11, i've tried 3.10, 3.11, 3.12, and 3.13 and they all blow > > up on boot. the crash from 3.13 is below. see attached config. ... > > statfs64() syscall returning errors (using `df` -- same binary works under > > older kernels). > > Ok, I'll look into that later. >From 68e0400189270ea6b893a770900dbd33e6b612b9 Mon Sep 17 00:00:00 2001 From: Heiko Carstens <heiko.carstens@xxxxxxxxxx> Date: Tue, 21 Jan 2014 17:31:10 +0100 Subject: [PATCH] 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@xxxxxxxxxxxxxxx # v3.10+ Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx> --- arch/s390/include/uapi/asm/statfs.h | 10 +++++----- 1 file 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; -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html