LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch] use __u64 rather than u64 in parisc statfs structs
@ 2007-01-28 23:48 Mike Frysinger
2007-01-31 2:14 ` Kyle McMartin
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2007-01-28 23:48 UTC (permalink / raw)
To: parisc-linux; +Cc: linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 164 bytes --]
the statfs header exports some structs to userspace ... the parisc statfs64
struct currently uses u64 so the trivial attached patch fixes it to use __u64
-mike
[-- Attachment #1.2: Type: application/pgp-signature, Size: 827 bytes --]
[-- Attachment #2: linux-use-__-types-in-parisc-statfs.patch --]
[-- Type: text/x-diff, Size: 503 bytes --]
Use __u64 rather than u64 in the struct statfs64 exported to userspace.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
--- a/include/asm-parisc/statfs.h
+++ b/include/asm-parisc/statfs.h
@@ -30,11 +30,11 @@ struct statfs {
struct statfs64 {
long f_type;
long f_bsize;
- u64 f_blocks;
- u64 f_bfree;
- u64 f_bavail;
- u64 f_files;
- u64 f_ffree;
+ __u64 f_blocks;
+ __u64 f_bfree;
+ __u64 f_bavail;
+ __u64 f_files;
+ __u64 f_ffree;
__kernel_fsid_t f_fsid;
long f_namelen;
long f_frsize;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-31 2:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-28 23:48 [patch] use __u64 rather than u64 in parisc statfs structs Mike Frysinger
2007-01-31 2:14 ` Kyle McMartin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).