Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/eli/g_eli.c
Show First 20 Lines • Show All 1,326 Lines • ▼ Show 20 Lines | |||||
g_eli_fini(struct g_class *mp) | g_eli_fini(struct g_class *mp) | ||||
{ | { | ||||
if (g_eli_pre_sync != NULL) | if (g_eli_pre_sync != NULL) | ||||
EVENTHANDLER_DEREGISTER(shutdown_pre_sync, g_eli_pre_sync); | EVENTHANDLER_DEREGISTER(shutdown_pre_sync, g_eli_pre_sync); | ||||
} | } | ||||
DECLARE_GEOM_CLASS(g_eli_class, g_eli); | DECLARE_GEOM_CLASS(g_eli_class, g_eli); | ||||
MODULE_VERSION(g_eli, G_ELI_VERSION); | |||||
allanjude: Rather than '1' as the value here, I think you want to use 'G_ELI_VERSION' from g_eli.h
When… | |||||
Done Inline ActionsGood call. I'll update the revision with that change. lattera-gmail.com: Good call. I'll update the revision with that change. | |||||
Not Done Inline ActionsI don't think that this version is the same as the G_ELI_VERSION... imp: I don't think that this version is the same as the G_ELI_VERSION... | |||||
MODULE_DEPEND(g_eli, crypto, 1, 1, 1); | MODULE_DEPEND(g_eli, crypto, 1, 1, 1); |
Rather than '1' as the value here, I think you want to use 'G_ELI_VERSION' from g_eli.h
When we upgrade GELI to version 8 in the future, this will make a difference.