PERFORCE change 81788 for review
soc-cjones
soc-cjones at FreeBSD.org
Wed Aug 10 15:30:18 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=81788
Change 81788 by soc-cjones at 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;
More information about the p4-projects
mailing list