Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e078146 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

s390/uapi: fix struct statfs64 definition



With b8668fd0 "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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 0ff2fe52
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -35,11 +35,11 @@ struct statfs {
struct statfs64 {
struct statfs64 {
	unsigned int	f_type;
	unsigned int	f_type;
	unsigned int	f_bsize;
	unsigned int	f_bsize;
	unsigned long	f_blocks;
	unsigned long long f_blocks;
	unsigned long	f_bfree;
	unsigned long long f_bfree;
	unsigned long	f_bavail;
	unsigned long long f_bavail;
	unsigned long	f_files;
	unsigned long long f_files;
	unsigned long	f_ffree;
	unsigned long long f_ffree;
	__kernel_fsid_t f_fsid;
	__kernel_fsid_t f_fsid;
	unsigned int	f_namelen;
	unsigned int	f_namelen;
	unsigned int	f_frsize;
	unsigned int	f_frsize;