Subject: cgd/dksubr
To: None <tech-kern@netbsd.org>
From: Love <lha@stacken.kth.se>
List: tech-kern
Date: 10/06/2002 21:45:28
Shouldn't biodone() be done in when it failes ? Without this setting
disklabel on a unconfiged cgd would fail.

Love

Index: dksubr.c
===================================================================
RCS file: /sources/netbsd/NetBSD-cvs/syssrc/sys/dev/dksubr.c,v
retrieving revision 1.1
diff -u -u -w -r1.1 dksubr.c
--- dksubr.c    2002/10/04 18:02:00     1.1
+++ dksubr.c    2002/10/06 19:21:09
@@ -179,6 +179,7 @@
                DPRINTF_FOLLOW(("dk_stragy: not inited\n"));
                bp->b_error  = ENXIO;
                bp->b_flags |= B_ERROR;
+               biodone(bp);
                return;
        }