Skip to content

Commit 4e07814

Browse files
heicarstMartin Schwidefsky
authored andcommitted
s390/uapi: fix struct statfs64 definition
With b8668fd "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>
1 parent 0ff2fe5 commit 4e07814

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎arch/s390/include/uapi/asm/statfs.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ struct statfs {
3535
struct statfs64 {
3636
unsigned int f_type;
3737
unsigned int f_bsize;
38-
unsigned long f_blocks;
39-
unsigned long f_bfree;
40-
unsigned long f_bavail;
41-
unsigned long f_files;
42-
unsigned long f_ffree;
38+
unsigned long long f_blocks;
39+
unsigned long long f_bfree;
40+
unsigned long long f_bavail;
41+
unsigned long long f_files;
42+
unsigned long long f_ffree;
4343
__kernel_fsid_t f_fsid;
4444
unsigned int f_namelen;
4545
unsigned int f_frsize;

0 commit comments

Comments
 (0)