diff options
author | phk <phk@FreeBSD.org> | 2002-03-26 22:07:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-03-26 22:07:38 +0000 |
commit | aeded841430797cf6f57896a1b74eaa00e0dd056 (patch) | |
tree | 2cbb86114a6ff641c38d48b296c167e13e603724 /sys/geom/geom_subr.c | |
parent | 166310e873655f8ead69d0f7898911ed39fc34ea (diff) | |
download | FreeBSD-src-aeded841430797cf6f57896a1b74eaa00e0dd056.zip FreeBSD-src-aeded841430797cf6f57896a1b74eaa00e0dd056.tar.gz |
Eliminate some thread pointers which do not make sense anymore.
Split private parts of geom.h into geom_int.h. The latter should
never be included in class implemtations.
Diffstat (limited to 'sys/geom/geom_subr.c')
-rw-r--r-- | sys/geom/geom_subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index f6299c9..2acfef8 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -58,6 +58,7 @@ #include <sys/errno.h> #include <sys/sbuf.h> #include <geom/geom.h> +#include <geom/geom_int.h> #include <machine/stdarg.h> struct class_list_head g_classs = LIST_HEAD_INITIALIZER(g_classs); @@ -590,7 +591,7 @@ g_create_geomf(char *class, struct g_provider *pp, char *fmt, ...) s = NULL; } if (pp != NULL) - gp = mp->taste(mp, pp, NULL, G_TF_INSIST); + gp = mp->taste(mp, pp, G_TF_INSIST); if (gp == NULL && mp->create_geom == NULL) return (NULL); if (gp == NULL) @@ -618,7 +619,7 @@ g_insert_geom(char *class, struct g_consumer *cp) if (mp->create_geom == NULL) return (NULL); pp = cp->provider; - gp = mp->taste(mp, pp, NULL, G_TF_TRANSPARENT); + gp = mp->taste(mp, pp, G_TF_TRANSPARENT); if (gp == NULL) return (NULL); pp2 = LIST_FIRST(&gp->provider); |