Brian Behlendorf
6413c95fbd
Linux 4.18 compat: inode timespec -> timespec64
...
Commit torvalds/linux@95582b0 changes the inode i_atime, i_mtime,
and i_ctime members form timespec's to timespec64's to make them
2038 safe. As part of this change the current_time() function was
also updated to return the timespec64 type.
Resolve this issue by introducing a new inode_timespec_t type which
is defined to match the timespec type used by the inode. It should
be used when working with inode timestamps to ensure matching types.
The timestruc_t type under Illumos was used in a similar fashion but
was specified to always be a timespec_t. Rather than incorrectly
define this type all timespec_t types have been replaced by the new
inode_timespec_t type.
Finally, the kernel and user space 'sys/time.h' headers were aligned
with each other. They define as appropriate for the context several
constants as macros and include static inline implementation of
gethrestime(), gethrestime_sec(), and gethrtime().
Reviewed-by: Chunwei Chen <tuxoko@gmail.com >
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #7643
2018-06-19 21:51:18 -07:00
..
2018-05-29 16:00:33 -07:00
2018-06-07 15:55:11 -07:00
2018-06-06 10:17:50 -07:00
2017-11-04 13:25:13 -07:00
2015-01-16 14:41:26 -08:00
2018-04-14 12:16:17 -07:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2018-06-06 09:35:59 -07:00
2018-05-29 16:00:33 -07:00
2018-06-18 14:10:54 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-01 11:24:20 -07:00
2018-05-31 10:53:49 -07:00
2018-06-19 21:51:18 -07:00
2018-06-06 10:16:41 -07:00
2018-05-29 16:00:33 -07:00
2018-06-04 14:56:06 -07:00
2018-05-29 16:00:33 -07:00
2018-06-06 10:16:41 -07:00
2018-06-13 11:05:06 -07:00
2018-06-13 11:05:06 -07:00
2017-11-04 13:25:13 -07:00
2018-05-02 15:36:20 -07:00
2018-06-18 14:10:54 -07:00
2018-04-14 12:16:17 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-06-19 21:51:18 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2017-11-04 13:25:13 -07:00
2016-11-29 14:34:27 -08:00
2018-06-19 21:51:18 -07:00
2018-05-29 16:00:33 -07:00
2017-10-11 16:54:48 -04:00
2017-05-19 13:45:46 -07:00
2015-01-16 14:41:26 -08:00
2018-06-06 09:35:59 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-03-07 15:40:42 -08:00
2018-05-01 20:44:24 -07:00
2018-05-01 20:44:24 -07:00
2018-03-15 10:53:58 -07:00
2018-03-29 17:40:34 -07:00
2018-05-24 10:18:07 -07:00
2017-02-28 16:10:18 -08:00
2017-01-03 11:31:18 -06:00
2018-06-07 09:51:56 -07:00
2018-03-15 10:53:58 -07:00
2016-11-29 14:34:27 -08:00
2010-08-31 13:41:58 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-06-06 09:33:54 -07:00
2018-06-06 09:33:54 -07:00
2018-06-04 14:54:20 -07:00
2018-04-14 12:16:17 -07:00
2018-04-14 12:16:17 -07:00
2018-06-06 09:35:59 -07:00
2018-06-06 09:35:59 -07:00
2018-04-14 12:16:17 -07:00
2018-06-04 14:56:06 -07:00
2017-07-13 13:54:00 -04:00
2016-08-31 14:35:34 -07:00
2018-05-29 16:00:33 -07:00
2018-05-31 10:36:37 -07:00
2018-04-14 12:16:17 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-24 10:18:07 -07:00
2018-05-29 16:00:33 -07:00
2018-04-14 12:16:17 -07:00
2018-05-29 18:13:48 -07:00
2016-11-29 14:34:33 -08:00
2017-01-22 13:25:40 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2016-12-15 17:31:33 -08:00
2016-12-12 10:46:26 -08:00
2017-01-22 13:25:40 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2017-01-22 13:25:40 -08:00
2018-05-29 16:00:33 -07:00
2018-04-14 12:16:17 -07:00
2018-05-29 16:00:33 -07:00
2018-05-08 21:35:27 -07:00
2018-05-31 10:36:37 -07:00
2018-05-31 10:53:11 -07:00
2018-05-31 10:53:49 -07:00
2018-05-31 10:53:11 -07:00
2018-02-20 11:19:42 -08:00
2018-02-08 15:29:24 -08:00
2018-02-08 15:28:18 -08:00
2018-02-20 11:19:42 -08:00
2018-06-15 15:10:42 -07:00
2017-11-04 13:25:13 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-06-19 21:51:18 -07:00
2018-03-21 15:37:32 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-03-04 17:34:51 -08:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-02-13 14:54:54 -08:00
2018-05-29 16:00:33 -07:00
2018-06-19 21:51:18 -07:00
2018-06-19 21:51:18 -07:00
2018-06-07 18:07:29 -07:00
2017-11-04 13:25:13 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-02-09 10:08:05 -08:00
2018-05-02 15:01:24 -07:00
2016-12-12 10:46:26 -08:00
2018-05-29 16:00:33 -07:00
2018-06-19 21:51:18 -07:00
2018-04-13 10:44:05 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-04-15 15:12:28 -07:00
2018-06-15 15:05:21 -07:00