35c35
< * $FreeBSD: head/sys/geom/geom_bsd.c 93097 2002-03-24 14:27:31Z phk $
---
> * $FreeBSD: head/sys/geom/geom_bsd.c 93248 2002-03-26 21:40:06Z phk $
60c60
< #define BSD_METHOD_NAME "BSD-method"
---
> #define BSD_CLASS_NAME "BSD-class"
322c322
< g_bsd_taste(struct g_method *mp, struct g_provider *pp, struct thread *tp, int flags)
---
> g_bsd_taste(struct g_class *mp, struct g_provider *pp, struct thread *tp, int flags)
338c338
< !strcmp(pp->geom->method->name, BSD_METHOD_NAME))
---
> !strcmp(pp->geom->class->name, BSD_CLASS_NAME))
436,437c436,437
< static struct g_method g_bsd_method = {
< BSD_METHOD_NAME,
---
> static struct g_class g_bsd_class = {
> BSD_CLASS_NAME,
442c442
< G_METHOD_INITSTUFF
---
> G_CLASS_INITSTUFF
445c445
< DECLARE_GEOM_METHOD(g_bsd_method, g_bsd);
---
> DECLARE_GEOM_CLASS(g_bsd_class, g_bsd);
< * $FreeBSD: head/sys/geom/geom_bsd.c 93097 2002-03-24 14:27:31Z phk $
---
> * $FreeBSD: head/sys/geom/geom_bsd.c 93248 2002-03-26 21:40:06Z phk $
60c60
< #define BSD_METHOD_NAME "BSD-method"
---
> #define BSD_CLASS_NAME "BSD-class"
322c322
< g_bsd_taste(struct g_method *mp, struct g_provider *pp, struct thread *tp, int flags)
---
> g_bsd_taste(struct g_class *mp, struct g_provider *pp, struct thread *tp, int flags)
338c338
< !strcmp(pp->geom->method->name, BSD_METHOD_NAME))
---
> !strcmp(pp->geom->class->name, BSD_CLASS_NAME))
436,437c436,437
< static struct g_method g_bsd_method = {
< BSD_METHOD_NAME,
---
> static struct g_class g_bsd_class = {
> BSD_CLASS_NAME,
442c442
< G_METHOD_INITSTUFF
---
> G_CLASS_INITSTUFF
445c445
< DECLARE_GEOM_METHOD(g_bsd_method, g_bsd);
---
> DECLARE_GEOM_CLASS(g_bsd_class, g_bsd);