summaryrefslogtreecommitdiff
path: root/tools/include/uapi/linux/stat.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-06-14 07:31:46 +0200
committerIngo Molnar <mingo@kernel.org>2017-06-14 07:31:46 +0200
commit10b90ee2eccca042e2d762881dd7119d201f0898 (patch)
tree1ebc06bf55a3e33244228d008a2db0197ae2281e /tools/include/uapi/linux/stat.h
parent84bcc1d57f634ba8a55eda9a910c159467af0aac (diff)
parent32c1431eea4881a6b17bd7c639315010aeefa452 (diff)
Merge tag 'v4.12-rc5' into ras/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/include/uapi/linux/stat.h')
-rw-r--r--tools/include/uapi/linux/stat.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/include/uapi/linux/stat.h b/tools/include/uapi/linux/stat.h
index d538897b8e08..17b10304c393 100644
--- a/tools/include/uapi/linux/stat.h
+++ b/tools/include/uapi/linux/stat.h
@@ -48,17 +48,13 @@
* tv_sec holds the number of seconds before (negative) or after (positive)
* 00:00:00 1st January 1970 UTC.
*
- * tv_nsec holds a number of nanoseconds before (0..-999,999,999 if tv_sec is
- * negative) or after (0..999,999,999 if tv_sec is positive) the tv_sec time.
- *
- * Note that if both tv_sec and tv_nsec are non-zero, then the two values must
- * either be both positive or both negative.
+ * tv_nsec holds a number of nanoseconds (0..999,999,999) after the tv_sec time.
*
* __reserved is held in case we need a yet finer resolution.
*/
struct statx_timestamp {
__s64 tv_sec;
- __s32 tv_nsec;
+ __u32 tv_nsec;
__s32 __reserved;
};