aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@FreeBSD.org>2009-05-04 17:30:20 +0000
committerUlf Lilleengen <lulf@FreeBSD.org>2009-05-04 17:30:20 +0000
commitad75dd77e0c73a5e4745f663d0aadaeee450a763 (patch)
tree20473105dd723b9bb9a7eb10c20101dbaa4942f5
parent9ec7b004d0edbf800e5b875353109a36b997b0a3 (diff)
downloadsrc-ad75dd77e0c73a5e4745f663d0aadaeee450a763.tar.gz
src-ad75dd77e0c73a5e4745f663d0aadaeee450a763.zip
- Make the gvinum softc invisible to userland, as it is not needed.
Notes
Notes: svn path=/head/; revision=191787
-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 124944fda2b6..87afb3f50748 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 {