Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 15:30:16 GMT
From:      soc-cjones <soc-cjones@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 81788 for review
Message-ID:  <200508101530.j7AFUGte039063@repoman.freebsd.org>

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

Change 81788 by soc-cjones@soc-cjones_ishtar on 2005/08/10 15:29:33

	Make gv_rm_sd visible for use in moving sds.

Affected files ...

.. //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum.h#3 edit
.. //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_rm.c#2 edit

Differences ...

==== //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum.h#3 (text+ko) ====

@@ -56,6 +56,7 @@
 
 /* geom_vinum_rm.c */
 void	gv_remove(struct g_geom *, struct gctl_req *);
+int     gv_rm_sd(struct gv_softc *sc, struct gctl_req *req, struct gv_sd *s, int flags);
 
 /* geom_vinum_state.c */
 int	gv_sdstatemap(struct gv_plex *);

==== //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_rm.c#2 (text+ko) ====

@@ -44,8 +44,8 @@
 		    struct gv_drive *, int);
 static int	gv_rm_plex(struct gv_softc *, struct gctl_req *,
 		    struct gv_plex *, int);
-static int	gv_rm_sd(struct gv_softc *, struct gctl_req *, struct gv_sd *,
-		    int);
+/* static int	gv_rm_sd(struct gv_softc *, struct gctl_req *, struct gv_sd *,
+		    int); */
 static int	gv_rm_vol(struct gv_softc *, struct gctl_req *,
 		    struct gv_volume *, int);
 
@@ -241,7 +241,7 @@
 }
 
 /* Remove a subdisk. */
-static int
+/* static */ int
 gv_rm_sd(struct gv_softc *sc, struct gctl_req *req, struct gv_sd *s, int flags)
 {
 	struct gv_drive *d;



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