Commit f7c7fb3c authored by Andrew Morton's avatar Andrew Morton Committed by Ben Collins

[PATCH] Copy nanosecond stat values for i386

From: Andi Kleen <ak@suse.de>

A brown paper bag bug, noticed by Ralf Baechle.

i386 needs to define STAT_HAVE_NSEC too, otherwise it won't copy
the nanosecond values to user space.
parent 088ed5a5
...@@ -73,4 +73,6 @@ struct stat64 { ...@@ -73,4 +73,6 @@ struct stat64 {
unsigned long long st_ino; unsigned long long st_ino;
}; };
#define STAT_HAVE_NSEC 1
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment