summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_apple.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-08-08 06:49:07 +0000
committerphk <phk@FreeBSD.org>2004-08-08 06:49:07 +0000
commit8a11f1b4a6e444c06beac9b61cd820cf6b82516f (patch)
tree93b8d93d433b81dc0f847a70e6344dafaeccf6d8 /sys/geom/geom_apple.c
parentcb84366718580d5c3c1cdea1706a0c06eea5d876 (diff)
downloadFreeBSD-src-8a11f1b4a6e444c06beac9b61cd820cf6b82516f.zip
FreeBSD-src-8a11f1b4a6e444c06beac9b61cd820cf6b82516f.tar.gz
Use default method initialization on geoms.
Diffstat (limited to 'sys/geom/geom_apple.c')
-rw-r--r--sys/geom/geom_apple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_apple.c b/sys/geom/geom_apple.c
index a1e8bc2..1b43633 100644
--- a/sys/geom/geom_apple.c
+++ b/sys/geom/geom_apple.c
@@ -157,7 +157,6 @@ g_apple_taste(struct g_class *mp, struct g_provider *pp, int insist)
if (gp == NULL)
return (NULL);
g_topology_unlock();
- gp->dumpconf = g_apple_dumpconf;
do {
if (gp->rank != 2 && insist == 0)
break;
@@ -257,6 +256,7 @@ g_apple_taste(struct g_class *mp, struct g_provider *pp, int insist)
static struct g_class g_apple_class = {
.name = APPLE_CLASS_NAME,
.taste = g_apple_taste,
+ .dumpconf = g_apple_dumpconf,
};
DECLARE_GEOM_CLASS(g_apple_class, g_apple);
OpenPOWER on IntegriCloud