Set bp->b_actf=NULL for paranoia sake.

This commit is contained in:
David Greenman 1995-08-07 11:56:31 +00:00
parent 5d210d3fd4
commit 0640d91d78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9983

View File

@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
* $Id: sd.c,v 1.64 1995/05/08 16:53:33 bde Exp $
* $Id: sd.c,v 1.65 1995/05/30 08:13:51 rgrimes Exp $
*/
#define SPLSD splbio
@ -480,6 +480,7 @@ sdstart(u_int32 unit, u_int32 flags)
return;
}
dp->b_actf = bp->b_actf;
bp->b_actf = NULL;
/*
* If the device has become invalid, abort all the