Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/bde/g_bde.c
Show First 20 Lines • Show All 284 Lines • ▼ Show 20 Lines | static struct g_class g_bde_class = { | ||||
.ctlreq = g_bde_ctlreq, | .ctlreq = g_bde_ctlreq, | ||||
.start = g_bde_start, | .start = g_bde_start, | ||||
.orphan = g_bde_orphan, | .orphan = g_bde_orphan, | ||||
.access = g_bde_access, | .access = g_bde_access, | ||||
.spoiled = g_std_spoiled, | .spoiled = g_std_spoiled, | ||||
}; | }; | ||||
DECLARE_GEOM_CLASS(g_bde_class, g_bde); | DECLARE_GEOM_CLASS(g_bde_class, g_bde); | ||||
MODULE_VERSION(geom_bde, 0); | |||||
kevans: The module name should be the same as the second parameter to DECLARE_GEOM_CLASS above, no? | |||||
opAuthorUnsubmitted Not Done Inline ActionsAFAIK the name could be a free text. First I looked into g_sched, and I followed the pattern what I found. But yes, there are others too, like in geom_flashmap. ~~~ From the user point of view, the module name is much more preferable, since it's more easy find them and looks better in error messages. op: AFAIK the name could be a free text. First I looked into g_sched, and I followed the pattern… |
The module name should be the same as the second parameter to DECLARE_GEOM_CLASS above, no?