diff options
author | Mark Lord <liml@rtr.ca> | 2006-05-19 16:21:03 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-05-20 00:31:45 -0400 |
commit | 9b358e305c1d783c8a4ebf00344e95deb9e38f3d (patch) | |
tree | b1cfece40d968befb1df17661282471ddf59a9dc /lib/kref.c | |
parent | 2f880b65fdbc2d4915bddc59d75a176329570fdd (diff) |
[PATCH] sata_mv: prevent unnecessary double-resets
The mv_err_intr() function is invoked from the driver's interrupt handler,
as well as from the timeout function. This patch prevents it from triggering
a one-after-the-other double reset of the controller when invoked
from the timeout function.
This also adds a check for a timeout race condition that has been observed
to occur with this driver in earlier kernels. This should not be needed,
in theory, but in practice it has caught bugs. Maybe nuke it at a later date.
Signed-off-by: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'lib/kref.c')
0 files changed, 0 insertions, 0 deletions