summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-21 19:00:48 +0000
committerphk <phk@FreeBSD.org>2003-02-21 19:00:48 +0000
commit02e550fabbccfb3ee4ca8b767f672f042bce9239 (patch)
tree0a783f7251946cbeba07417df9c459d72a6aa14e /sys/kern/kern_conf.c
parentc6646c2f7da7d39f3506c8ff46b821f065dc318f (diff)
downloadFreeBSD-src-02e550fabbccfb3ee4ca8b767f672f042bce9239.zip
FreeBSD-src-02e550fabbccfb3ee4ca8b767f672f042bce9239.tar.gz
NO_GEOM cleanup:
Retire the "d_dump_t" and use the "dumper_t" type instead. Dumper_t takes a void * as first arg which is more general than the dev_t taken by d_dump_t. (Remember: we could have net-dumpers if somebody wrote us one!) Define the convention for GEOM controlled disk devices to be that the first argument to the dumper function is the struct disk pointer. Change device drivers accordingly.
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index d471cd4..22803c1 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -90,7 +90,7 @@ dead_strategy(struct bio *bp)
biofinish(bp, NULL, ENXIO);
}
-#define dead_dump (d_dump_t *)enxio
+#define dead_dump (dumper_t *)enxio
static int
dead_psize(dev_t dev)
OpenPOWER on IntegriCloud