]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitcd955463bb4e96cfec18a0e5b6887c6797fb821d
treec55ee46b45751e4cf1f4fe6595784add305d91d5
parentf8d8e5799b75cf7ad530d2bf2a42229bf7360526
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