summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_io.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_io.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_io.c')
-rw-r--r--sys/geom/geom_io.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c
index c0eded7..5d1fdc1 100644
--- a/sys/geom/geom_io.c
+++ b/sys/geom/geom_io.c
@@ -53,6 +53,7 @@
#include <sys/errno.h>
#include <geom/geom.h>
+#include <geom/geom_int.h>
static struct g_bioq g_bio_run_down;
static struct g_bioq g_bio_run_up;
@@ -163,7 +164,7 @@ g_io_init()
}
int
-g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr, struct thread *tp __unused)
+g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr)
{
struct bio *bp;
int error;
@@ -192,7 +193,7 @@ g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr, struct threa
int
-g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr, struct thread *tp __unused)
+g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr)
{
struct bio *bp;
int error;
OpenPOWER on IntegriCloud