]> git.baikalelectronics.ru Git - kernel.git/commit
libata: fix timing computation in ata_eh_reset()
authorTejun Heo <htejun@gmail.com>
Wed, 31 Oct 2007 01:17:02 +0000 (10:17 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 3 Nov 2007 12:46:54 +0000 (08:46 -0400)
commitf569d717186357f7c718a5d15ed904f902ace2c0
treec55ee46b45751e4cf1f4fe6595784add305d91d5
parent29d8a4e203e7b5bc2d1a1a32493b30e393b85dca
libata: fix timing computation in ata_eh_reset()

As jiffies changes asynchronously, it needs to be cached if unchanging
timestamp is needed.  The code in ata_eh_reset() intended to do that
with @now but never actually did it.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c