diff options
author | sos <sos@FreeBSD.org> | 2003-09-08 06:28:50 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2003-09-08 06:28:50 +0000 |
commit | 40fb9b55c0a19d2c64790b2fec173522a7c687a9 (patch) | |
tree | 91158b2b6707a4875b86201205458dee10726aa9 | |
parent | 6e452678be44b116f644b1132c92ea48b0a75baa (diff) | |
download | FreeBSD-src-40fb9b55c0a19d2c64790b2fec173522a7c687a9.zip FreeBSD-src-40fb9b55c0a19d2c64790b2fec173522a7c687a9.tar.gz |
Dont re-arm the timeout twice on a timeout error.
The problem with the first timeout still exsists though, but not
it doesn't enter a groundbound spin loop :)
Found by: Aaron Smith <aaron@mutex.org>
-rw-r--r-- | sys/dev/pst/pst-raid.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/pst/pst-raid.c b/sys/dev/pst/pst-raid.c index 6806dfe..e545a5f 100644 --- a/sys/dev/pst/pst-raid.c +++ b/sys/dev/pst/pst-raid.c @@ -316,11 +316,6 @@ pst_timeout(struct pst_request *request) mtx_unlock(&request->psc->iop->mtx); return; } - if (dumping) - request->timeout_handle.callout = NULL; - else - request->timeout_handle = - timeout((timeout_t*)pst_timeout, request, 10 * hz); if (pst_rw(request)) { iop_free_mfa(request->psc->iop, request->mfa); biofinish(request->bp, NULL, EIO); |