Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/driver...
[linux-2.6/verdex.git] / include / asm-s390 / statfs.h
blob099a45579190e4764343dfebe85cc05f178293f9
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 #ifndef __KERNEL_STRICT_NAMES
18 #include <linux/types.h>
20 typedef __kernel_fsid_t fsid_t;
22 #endif
25 * This is ugly -- we're already 64-bit clean, so just duplicate the
26 * definitions.
28 struct statfs {
29 int f_type;
30 int f_bsize;
31 long f_blocks;
32 long f_bfree;
33 long f_bavail;
34 long f_files;
35 long f_ffree;
36 __kernel_fsid_t f_fsid;
37 int f_namelen;
38 int f_frsize;
39 int f_spare[5];
42 struct statfs64 {
43 int f_type;
44 int f_bsize;
45 long f_blocks;
46 long f_bfree;
47 long f_bavail;
48 long f_files;
49 long f_ffree;
50 __kernel_fsid_t f_fsid;
51 int f_namelen;
52 int f_frsize;
53 int f_spare[5];
56 struct compat_statfs64 {
57 __u32 f_type;
58 __u32 f_bsize;
59 __u64 f_blocks;
60 __u64 f_bfree;
61 __u64 f_bavail;
62 __u64 f_files;
63 __u64 f_ffree;
64 __kernel_fsid_t f_fsid;
65 __u32 f_namelen;
66 __u32 f_frsize;
67 __u32 f_spare[5];
70 #endif /* __s390x__ */
71 #endif