diff options
| -rw-r--r-- | include/uapi/linux/stat.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/uapi/linux/stat.h b/include/uapi/linux/stat.h index d538897b8e08..17b10304c393 100644 --- a/include/uapi/linux/stat.h +++ b/include/uapi/linux/stat.h | |||
| @@ -48,17 +48,13 @@ | |||
| 48 | * tv_sec holds the number of seconds before (negative) or after (positive) | 48 | * tv_sec holds the number of seconds before (negative) or after (positive) |
| 49 | * 00:00:00 1st January 1970 UTC. | 49 | * 00:00:00 1st January 1970 UTC. |
| 50 | * | 50 | * |
| 51 | * tv_nsec holds a number of nanoseconds before (0..-999,999,999 if tv_sec is | 51 | * tv_nsec holds a number of nanoseconds (0..999,999,999) after the tv_sec time. |
| 52 | * negative) or after (0..999,999,999 if tv_sec is positive) the tv_sec time. | ||
| 53 | * | ||
| 54 | * Note that if both tv_sec and tv_nsec are non-zero, then the two values must | ||
| 55 | * either be both positive or both negative. | ||
| 56 | * | 52 | * |
| 57 | * __reserved is held in case we need a yet finer resolution. | 53 | * __reserved is held in case we need a yet finer resolution. |
| 58 | */ | 54 | */ |
| 59 | struct statx_timestamp { | 55 | struct statx_timestamp { |
| 60 | __s64 tv_sec; | 56 | __s64 tv_sec; |
| 61 | __s32 tv_nsec; | 57 | __u32 tv_nsec; |
| 62 | __s32 __reserved; | 58 | __s32 __reserved; |
| 63 | }; | 59 | }; |
| 64 | 60 | ||
