]> git.wh0rd.org Git - patches.git/blob - linux-use-__-types-in-parisc-statfs.patch
initial import
[patches.git] / linux-use-__-types-in-parisc-statfs.patch
1 Use __u64 rather than u64 in the struct statfs64 exported to userspace.
2
3 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
4
5 --- a/include/asm-parisc/statfs.h
6 +++ b/include/asm-parisc/statfs.h
7 @@ -30,11 +30,11 @@ struct statfs {
8  struct statfs64 {
9         long f_type;
10         long f_bsize;
11 -       u64 f_blocks;
12 -       u64 f_bfree;
13 -       u64 f_bavail;
14 -       u64 f_files;
15 -       u64 f_ffree;
16 +       __u64 f_blocks;
17 +       __u64 f_bfree;
18 +       __u64 f_bavail;
19 +       __u64 f_files;
20 +       __u64 f_ffree;
21         __kernel_fsid_t f_fsid;
22         long f_namelen;
23         long f_frsize;