Re: [PATCH] md: use seconds granularity for error logging
From: Shaohua Li <shli@kernel.org>
Date: 2016-07-19 18:00:02
Also in:
lkml
From: Shaohua Li <shli@kernel.org>
Date: 2016-07-19 18:00:02
Also in:
lkml
On Fri, Jun 17, 2016 at 05:33:10PM +0200, Arnd Bergmann wrote:
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>
Applied, thanks! _______________________________________________ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038