summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-04-10 03:55:13 +0000
committermarcel <marcel@FreeBSD.org>2006-04-10 03:55:13 +0000
commitc168f9530e1b94a463b6747ea1f1bcb5b4ab8cbf (patch)
tree81cff68e80c2afb7c70386d60e4b5557ec440179 /sys/geom/geom.h
parent271e02009f1ba97cb64faec0aef6565c45658e3e (diff)
downloadFreeBSD-src-c168f9530e1b94a463b6747ea1f1bcb5b4ab8cbf.zip
FreeBSD-src-c168f9530e1b94a463b6747ea1f1bcb5b4ab8cbf.tar.gz
Add g_wither_provider() to abstract the details of destroying a
particular provider. Use this function where g_orphan_provider() is being called so that the flags are updated correctly and g_orphan_provider() is called only when allowed.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index 7f6bf5a..79a2e3b 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -239,6 +239,7 @@ void g_std_done(struct bio *bp);
void g_std_spoiled(struct g_consumer *cp);
void g_wither_geom(struct g_geom *gp, int error);
void g_wither_geom_close(struct g_geom *gp, int error);
+void g_wither_provider(struct g_provider *pp, int error);
#ifdef DIAGNOSTIC
int g_valid_obj(void const *ptr);
OpenPOWER on IntegriCloud