svn commit: r191787 - head/sys/geom/vinum

Ulf Lilleengen lulf at FreeBSD.org
Mon May 4 17:30:20 UTC 2009


Author: lulf
Date: Mon May  4 17:30:20 2009
New Revision: 191787
URL: http://svn.freebsd.org/changeset/base/191787

Log:
  - Make the gvinum softc invisible to userland, as it is not needed.

Modified:
  head/sys/geom/vinum/geom_vinum_var.h

Modified: head/sys/geom/vinum/geom_vinum_var.h
==============================================================================
--- head/sys/geom/vinum/geom_vinum_var.h	Mon May  4 17:26:01 2009	(r191786)
+++ head/sys/geom/vinum/geom_vinum_var.h	Mon May  4 17:30:20 2009	(r191787)
@@ -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 {


More information about the svn-src-head mailing list