lkml.org 
[lkml]   [2003]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Copy nanosecond stat values for i386

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:2.320 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site