Arnd Bergmann 0e3ef49eda md: use seconds granularity for error logging
The md code stores the exact time of the last error in the
last_read_error variable using a timespec structure. It only
ever uses the seconds portion of that though, so we can
use a scalar for it.

There won't be an overflow in 2038 here, because it already
used monotonic time and 32-bit is enough for that, but I've
decided to use time64_t for consistency in the conversion.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shaohua Li <shli@fb.com>
2016-07-19 11:00:47 -07:00
..
2016-05-25 15:38:56 -07:00
2016-05-24 11:00:20 -07:00
2016-05-25 10:40:15 -07:00
2016-05-19 11:27:09 -07:00
2016-05-19 11:47:18 -07:00
2016-05-20 21:26:15 -07:00
2016-05-20 21:26:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-20 14:51:34 -07:00
2016-05-25 10:40:15 -07:00
2016-05-24 11:00:20 -07:00
2016-05-18 16:38:59 -07:00
2016-05-20 11:10:24 -07:00
2016-05-24 11:00:20 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 21:20:31 -07:00
2016-05-20 21:12:25 -07:00
2016-05-20 21:26:15 -07:00
2016-05-25 10:40:15 -07:00
2016-05-20 18:33:37 -07:00
2016-05-24 11:12:32 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 14:35:07 -07:00
2016-05-20 21:12:25 -07:00
2016-05-25 09:47:26 -07:00
2016-05-25 10:40:15 -07:00
2016-05-24 10:22:34 -07:00
2016-05-23 11:18:01 -07:00