summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_kern.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-24 13:37:15 +0000
committerphk <phk@FreeBSD.org>2003-03-24 13:37:15 +0000
commit063b352331c9002a70d3bb671f24048686029693 (patch)
tree3455034d79fc9ac03c4b138d50c02b2ac0222f34 /sys/geom/geom_kern.c
parentdc9d8429c2275d60d84aa603ba84287b6dee7d92 (diff)
downloadFreeBSD-src-063b352331c9002a70d3bb671f24048686029693.zip
FreeBSD-src-063b352331c9002a70d3bb671f24048686029693.tar.gz
Turn /dev/geom.ctl from a GEOM class into a plain character device driver
instead, it will never see a disk-I/O transaction, so this is a lot simpler.
Diffstat (limited to 'sys/geom/geom_kern.c')
-rw-r--r--sys/geom/geom_kern.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_kern.c b/sys/geom/geom_kern.c
index d8ab014..227c6d0 100644
--- a/sys/geom/geom_kern.c
+++ b/sys/geom/geom_kern.c
@@ -145,6 +145,7 @@ g_init(void)
sx_init(&topology_lock, "GEOM topology");
g_io_init();
g_event_init();
+ g_ctl_init();
mtx_lock(&Giant);
kproc_start(&g_event_kp);
kproc_start(&g_up_kp);
OpenPOWER on IntegriCloud