Skip to content
Commit 39fc8830 authored by Jens Axboe's avatar Jens Axboe
Browse files

sx8: use real time for the command seconds



Commit 8182503d used monotonic time, but if the adapter is
using the seconds for logging entries, then we'll get duplicate
entries if the system is rebooted. Use real time instead.

Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 8182503d ("block: sx8.c: Replace timeval with ktime_t")
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 8182503d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment