1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Do not override the class provided dumpconf function.

This commit is contained in:
Poul-Henning Kamp 2004-08-18 21:42:08 +00:00
parent 09a12d75cf
commit a9654c8c58
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133986

View File

@ -465,7 +465,8 @@ g_slice_new(struct g_class *mp, u_int slices, struct g_provider *pp, struct g_co
gp->softc = gsp;
gp->start = g_slice_start;
gp->spoiled = g_slice_spoiled;
gp->dumpconf = g_slice_dumpconf;
if (gp->dumpconf == NULL)
gp->dumpconf = g_slice_dumpconf;
if (gp->class->destroy_geom == NULL)
gp->class->destroy_geom = g_slice_destroy_geom;
cp = g_new_consumer(gp);