* [PATCH] Copy nanosecond stat values for i386
@ 2003-05-31 11:58 Andi Kleen
0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2003-05-31 11:58 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
A brown paper bag bug, noticed by Ralf Baechtle.
i386 needs to define STAT_HAVE_NSEC too, otherwise it won't copy
the nanosecond values to user space.
-Andi
Index: linux/include/asm-i386/stat.h
===================================================================
RCS file: /home/cvs/linux-2.5/include/asm-i386/stat.h,v
retrieving revision 1.12
diff -u -u -r1.12 stat.h
--- linux/include/asm-i386/stat.h 30 May 2003 20:11:00 -0000 1.12
+++ linux/include/asm-i386/stat.h 31 May 2003 10:24:23 -0000
@@ -73,4 +73,6 @@
unsigned long long st_ino;
};
+#define STAT_HAVE_NSEC 1
+
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-31 11:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-31 11:58 [PATCH] Copy nanosecond stat values for i386 Andi Kleen
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).