diff options
| author | oster <oster@NetBSD.org> | 2005-01-18 03:29:51 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2005-01-18 03:29:51 +0000 |
| commit | 26187fa579b03f30c9dbbe24be3dabcba33e59b8 (patch) | |
| tree | 74dc808c5cabf6d0e49845c41dce22438e34669b /sys/dev/raidframe | |
| parent | ab7375f57fcba96a339efb374bd056cc169d2a89 (diff) | |
ForceReconReadDoneProc() needs a return after doing the first
rf_CauseReconEvent().
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_reconstruct.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.c b/sys/dev/raidframe/rf_reconstruct.c index da72c95245a..7e648e03035 100644 --- a/sys/dev/raidframe/rf_reconstruct.c +++ b/sys/dev/raidframe/rf_reconstruct.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_reconstruct.c,v 1.78 2004/12/12 20:53:15 oster Exp $ */ +/* $NetBSD: rf_reconstruct.c,v 1.79 2005/01/18 03:29:51 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -33,7 +33,7 @@ ************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.78 2004/12/12 20:53:15 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.79 2005/01/18 03:29:51 oster Exp $"); #include <sys/time.h> #include <sys/buf.h> @@ -1550,6 +1550,7 @@ ForceReconReadDoneProc(void *arg, int status) if (status) { printf("raid%d: Forced recon read failed!\n", rbuf->raidPtr->raidid); rf_CauseReconEvent(rbuf->raidPtr, rbuf->col, (void *) rbuf, RF_REVENT_FORCEDREAD_FAILED); + return; } rf_CauseReconEvent(rbuf->raidPtr, rbuf->col, (void *) rbuf, RF_REVENT_FORCEDREADDONE); } |
