summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2009-05-04 17:30:20 +0000
committerlulf <lulf@FreeBSD.org>2009-05-04 17:30:20 +0000
commit5a4e3bbf097e207785aa8560452ceef9b4bea804 (patch)
tree20473105dd723b9bb9a7eb10c20101dbaa4942f5 /sys/geom
parente3d34903b6fb9cb09f7e616bde59d97341958fa2 (diff)
downloadFreeBSD-src-5a4e3bbf097e207785aa8560452ceef9b4bea804.zip
FreeBSD-src-5a4e3bbf097e207785aa8560452ceef9b4bea804.tar.gz
- Make the gvinum softc invisible to userland, as it is not needed.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/vinum/geom_vinum_var.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/geom/vinum/geom_vinum_var.h b/sys/geom/vinum/geom_vinum_var.h
index 124944f..87afb3f 100644
--- a/sys/geom/vinum/geom_vinum_var.h
+++ b/sys/geom/vinum/geom_vinum_var.h
@@ -221,7 +221,6 @@ struct gv_event {
intmax_t arg4;
TAILQ_ENTRY(gv_event) events;
};
-#endif
/* This struct contains the main vinum config. */
struct gv_softc {
@@ -234,13 +233,10 @@ struct gv_softc {
TAILQ_HEAD(,gv_event) equeue; /* Event queue. */
struct mtx queue_mtx; /* Queue lock. */
struct mtx config_mtx; /* Configuration lock. */
-#ifdef _KERNEL
struct bio_queue_head *bqueue; /* BIO queue. */
-#else
- char *padding;
-#endif
struct g_geom *geom; /* Pointer to our VINUM geom. */
};
+#endif
/* softc for a drive. */
struct gv_drive {
OpenPOWER on IntegriCloud