summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_sunlabel.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-03-26 22:07:38 +0000
committerphk <phk@FreeBSD.org>2002-03-26 22:07:38 +0000
commitaeded841430797cf6f57896a1b74eaa00e0dd056 (patch)
tree2cbb86114a6ff641c38d48b296c167e13e603724 /sys/geom/geom_sunlabel.c
parent166310e873655f8ead69d0f7898911ed39fc34ea (diff)
downloadFreeBSD-src-aeded841430797cf6f57896a1b74eaa00e0dd056.zip
FreeBSD-src-aeded841430797cf6f57896a1b74eaa00e0dd056.tar.gz
Eliminate some thread pointers which do not make sense anymore.
Split private parts of geom.h into geom_int.h. The latter should never be included in class implemtations.
Diffstat (limited to 'sys/geom/geom_sunlabel.c')
-rw-r--r--sys/geom/geom_sunlabel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c
index 3ed9bc5..97254de 100644
--- a/sys/geom/geom_sunlabel.c
+++ b/sys/geom/geom_sunlabel.c
@@ -84,7 +84,7 @@ g_sunlabel_dumpconf(struct sbuf *sb, char *indent, struct g_geom *gp, struct g_c
}
static struct g_geom *
-g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, struct thread *tp, int flags)
+g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags)
{
struct g_geom *gp;
struct g_consumer *cp;
@@ -110,14 +110,14 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, struct thread *tp, i
if (gp->rank != 2 && flags == G_TF_NORMAL)
break;
j = sizeof secsize;
- error = g_io_getattr("GEOM::sectorsize", cp, &j, &secsize, tp);
+ error = g_io_getattr("GEOM::sectorsize", cp, &j, &secsize);
if (error) {
secsize = 512;
printf("g_sunlabel_taste: error %d Sectors are %d bytes\n",
error, secsize);
}
j = sizeof mediasize;
- error = g_io_getattr("GEOM::mediasize", cp, &j, &mediasize, tp);
+ error = g_io_getattr("GEOM::mediasize", cp, &j, &mediasize);
if (error) {
mediasize = 0;
printf("g_error %d Mediasize is %lld bytes\n",
OpenPOWER on IntegriCloud