sx8: use real time for the command seconds
authorJens Axboe <axboe@fb.com>
Wed, 23 Dec 2015 15:42:59 +0000 (08:42 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 23 Dec 2015 15:42:59 +0000 (08:42 -0700)
commit39fc8830eb96a559be8554b8df1e0c31f375feaf
treeeaf1b21c6d87eb6abe6e8395facd33a81389837c
parent8182503df1baa077d1504cd192753b23530eb03c
sx8: use real time for the command seconds

Commit 8182503df1ba 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: Arnd Bergmann <arnd@arndb.de>
Fixes: 8182503df1ba ("block: sx8.c: Replace timeval with ktime_t")
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/sx8.c