Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2007 18:17:27 GMT
From:      Ulf Lilleengen <lulf@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 122657 for review
Message-ID:  <200707011817.l61IHRvP065715@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122657

Change 122657 by lulf@lulf_carrot on 2007/07/01 18:17:10

	- Add userland padding of struct gv_volume.

Affected files ...

.. //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_var.h#20 edit

Differences ...

==== //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_var.h#20 (text+ko) ====

@@ -206,6 +206,7 @@
 #define GV_EVENT_RENAME_DRIVE		29
 #define GV_EVENT_MOVE_SD		30
 
+#ifdef _KERNEL
 struct gv_event {
 	int	type;
 	void	*arg1;
@@ -214,6 +215,7 @@
 	intmax_t arg4;
 	TAILQ_ENTRY(gv_event)	events;
 };
+#endif
 
 /* This struct contains the main vinum config. */
 struct gv_softc {
@@ -370,7 +372,11 @@
 
 	struct g_provider	*provider;	/* Provider of this volume. */
 
+#ifdef	_KERNEL
 	struct bio_queue_head	*wqueue;	/* BIO delayed request queue. */
+#else
+	char			*wpad; /* Padding for userland. */
+#endif
 
 	struct gv_plex	*last_read_plex;
 	struct gv_softc	*vinumconf;	/* Pointer to the vinum config. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707011817.l61IHRvP065715>