mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Include needed #include for regression tests.
Sponsored by: DARPA & NAI Labs.
This commit is contained in:
parent
425b005dba
commit
faefe44cff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96952
@ -42,6 +42,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <err.h>
|
||||
#else
|
||||
#include <sys/systm.h>
|
||||
@ -301,10 +302,8 @@ g_slice_orphan(struct g_consumer *cp)
|
||||
|
||||
gp = cp->geom;
|
||||
gp->flags |= G_GEOM_WITHER;
|
||||
/* First prevent any new requests */
|
||||
error = cp->provider->error;
|
||||
LIST_FOREACH(pp, &gp->provider, provider)
|
||||
g_orphan_provider(pp, error);
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user