]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit068331bc0132c7955eeff838b2869c917c05cf44
treeeaf1b21c6d87eb6abe6e8395facd33a81389837c
parent7533f7f2a83e6ed6b3873756d17384074f87547e
sx8: use real time for the command seconds

Commit 7533f7f2a83e 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: 7533f7f2a83e ("block: sx8.c: Replace timeval with ktime_t")
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/sx8.c