Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / s390 / include / asm / statfs.h
blob3be7fbd406c8603a0ddbbd2666b3a5c9f0a2621e
1 /*
2 * include/asm-s390/statfs.h
4 * S390 version
6 * Derived from "include/asm-i386/statfs.h"
7 */
9 #ifndef _S390_STATFS_H
10 #define _S390_STATFS_H
12 #ifndef __s390x__
13 #include <asm-generic/statfs.h>
14 #else
16 * We can't use <asm-generic/statfs.h> because in 64-bit mode
17 * we mix ints of different sizes in our struct statfs.
20 #ifndef __KERNEL_STRICT_NAMES
21 #include <linux/types.h>
22 typedef __kernel_fsid_t fsid_t;
23 #endif
25 struct statfs {
26 int f_type;
27 int f_bsize;
28 long f_blocks;
29 long f_bfree;
30 long f_bavail;
31 long f_files;
32 long f_ffree;
33 __kernel_fsid_t f_fsid;
34 int f_namelen;
35 int f_frsize;
36 int f_flags;
37 int f_spare[4];
40 struct statfs64 {
41 int f_type;
42 int f_bsize;
43 long f_blocks;
44 long f_bfree;
45 long f_bavail;
46 long f_files;
47 long f_ffree;
48 __kernel_fsid_t f_fsid;
49 int f_namelen;
50 int f_frsize;
51 int f_flags;
52 int f_spare[4];
55 struct compat_statfs64 {
56 __u32 f_type;
57 __u32 f_bsize;
58 __u64 f_blocks;
59 __u64 f_bfree;
60 __u64 f_bavail;
61 __u64 f_files;
62 __u64 f_ffree;
63 __kernel_fsid_t f_fsid;
64 __u32 f_namelen;
65 __u32 f_frsize;
66 __u32 f_flags;
67 __u32 f_spare[4];
70 #endif /* __s390x__ */
71 #endif