diff options
author | phk <phk@FreeBSD.org> | 2002-04-04 09:41:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-04 09:41:47 +0000 |
commit | 46a753d1acb5a70fd37e979d2b3d2ef154eeb027 (patch) | |
tree | 4d8b00bfd5aa9bbf55132b74430e87b023cdf2c2 /sys/geom | |
parent | bc9ecd683771ab5560a8bca5f8ebe019f97585f1 (diff) | |
download | FreeBSD-src-46a753d1acb5a70fd37e979d2b3d2ef154eeb027.zip FreeBSD-src-46a753d1acb5a70fd37e979d2b3d2ef154eeb027.tar.gz |
s/classs/classes/ to fixup grammer after the previous global renaming.
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_dump.c | 4 | ||||
-rw-r--r-- | sys/geom/geom_event.c | 4 | ||||
-rw-r--r-- | sys/geom/geom_int.h | 2 | ||||
-rw-r--r-- | sys/geom/geom_subr.c | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/geom/geom_dump.c b/sys/geom/geom_dump.c index 4605d97..7cdb87c 100644 --- a/sys/geom/geom_dump.c +++ b/sys/geom/geom_dump.c @@ -108,7 +108,7 @@ g_confdot(void) sb = sbuf_new(NULL, NULL, 0, SBUF_AUTOEXTEND); sbuf_clear(sb); sbuf_printf(sb, "digraph geom {\n"); - LIST_FOREACH(mp, &g_classs, class) + LIST_FOREACH(mp, &g_classes, class) g_confdot_class(sb, mp); sbuf_printf(sb, "};\n"); sbuf_finish(sb); @@ -208,7 +208,7 @@ g_conf_specific(struct g_class *mp, struct g_geom *gp, struct g_provider *pp, st sb = sbuf_new(NULL, NULL, 0, SBUF_AUTOEXTEND); sbuf_clear(sb); sbuf_printf(sb, "<mesh>\n"); - LIST_FOREACH(mp2, &g_classs, class) { + LIST_FOREACH(mp2, &g_classes, class) { if (mp != NULL && mp != mp2) continue; g_conf_class(sb, mp2, gp, pp, cp); diff --git a/sys/geom/geom_event.c b/sys/geom/geom_event.c index c750c1a7..ab6d228 100644 --- a/sys/geom/geom_event.c +++ b/sys/geom/geom_event.c @@ -155,7 +155,7 @@ g_do_event(struct g_event *ep) mp2 = ep->class; if (mp2->taste == NULL) break; - LIST_FOREACH(mp, &g_classs, class) { + LIST_FOREACH(mp, &g_classes, class) { if (mp2 == mp) continue; LIST_FOREACH(gp, &mp->geom, geom) { @@ -169,7 +169,7 @@ g_do_event(struct g_event *ep) case EV_NEW_PROVIDER: g_trace(G_T_TOPOLOGY, "EV_NEW_PROVIDER(%s)", ep->provider->name); - LIST_FOREACH(mp, &g_classs, class) { + LIST_FOREACH(mp, &g_classes, class) { if (mp->taste == NULL) continue; i = 1; diff --git a/sys/geom/geom_int.h b/sys/geom/geom_int.h index 6ea6769..b7a5ad6 100644 --- a/sys/geom/geom_int.h +++ b/sys/geom/geom_int.h @@ -75,7 +75,7 @@ void g_post_event(enum g_events ev, struct g_class *mp, struct g_geom *gp, struc void g_run_events(void); /* geom_subr.c */ -extern struct class_list_head g_classs; +extern struct class_list_head g_classes; extern char *g_wait_event, *g_wait_sim, *g_wait_up, *g_wait_down; /* geom_io.c */ diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 42b3f62..2280efe 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -61,7 +61,7 @@ #include <geom/geom_int.h> #include <machine/stdarg.h> -struct class_list_head g_classs = LIST_HEAD_INITIALIZER(g_classs); +struct class_list_head g_classes = LIST_HEAD_INITIALIZER(g_classes); static struct g_tailq_head geoms = TAILQ_HEAD_INITIALIZER(geoms); static int g_nproviders; char *g_wait_event, *g_wait_up, *g_wait_down, *g_wait_sim; @@ -79,7 +79,7 @@ g_add_class(struct g_class *mp) g_topology_lock(); g_trace(G_T_TOPOLOGY, "g_add_class(%s)", mp->name); LIST_INIT(&mp->geom); - LIST_INSERT_HEAD(&g_classs, mp, class); + LIST_INSERT_HEAD(&g_classes, mp, class); if (g_nproviders > 0) g_post_event(EV_NEW_CLASS, mp, NULL, NULL, NULL); g_topology_unlock(); @@ -558,7 +558,7 @@ g_class_by_name(char *name) g_trace(G_T_TOPOLOGY, "g_class_by_name(%s)", name); g_topology_assert(); - LIST_FOREACH(mp, &g_classs, class) + LIST_FOREACH(mp, &g_classes, class) if (!strcmp(mp->name, name)) return (mp); return (NULL); |