diff options
| author | elric <elric@NetBSD.org> | 2002-10-09 14:04:08 +0000 |
|---|---|---|
| committer | elric <elric@NetBSD.org> | 2002-10-09 14:04:08 +0000 |
| commit | 152dfaff5da55184dbe99a16916d4c8f05b932a9 (patch) | |
| tree | aeb0e91f0d89ef8e3a59f88fa508d15b72c83bf4 /sys/dev | |
| parent | b0eef0bfaaafa904b841c196f2f4ac487bcd1e67 (diff) | |
We need to do biodone() if strategy is called on an unconfigured device.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/dksubr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/dksubr.c b/sys/dev/dksubr.c index 422a1abe13b..240d4f121a1 100644 --- a/sys/dev/dksubr.c +++ b/sys/dev/dksubr.c @@ -1,4 +1,4 @@ -/* $NetBSD: dksubr.c,v 1.1 2002/10/04 18:02:00 elric Exp $ */ +/* $NetBSD: dksubr.c,v 1.2 2002/10/09 14:04:08 elric Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc. @@ -179,6 +179,7 @@ dk_strategy(struct dk_intf *di, struct dk_softc *dksc, struct buf *bp) DPRINTF_FOLLOW(("dk_stragy: not inited\n")); bp->b_error = ENXIO; bp->b_flags |= B_ERROR; + biodone(bp); return; } |
