summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_mbr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-03 19:37:40 +0000
committerphk <phk@FreeBSD.org>2003-04-03 19:37:40 +0000
commitffdec08c2c26f9d96e5887f5db3e643fd2b77817 (patch)
tree2d158f756d3f06b906c2aedd1626be1405f86cd5 /sys/geom/geom_mbr.c
parent8207e9e353dbeb83f80376f31b4c525f09eae776 (diff)
downloadFreeBSD-src-ffdec08c2c26f9d96e5887f5db3e643fd2b77817.zip
FreeBSD-src-ffdec08c2c26f9d96e5887f5db3e643fd2b77817.tar.gz
Retire the DIOCGMBR ioctl before anybody starts to use it.
Diffstat (limited to 'sys/geom/geom_mbr.c')
-rw-r--r--sys/geom/geom_mbr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c
index 68b9fba..a044ce5 100644
--- a/sys/geom/geom_mbr.c
+++ b/sys/geom/geom_mbr.c
@@ -242,11 +242,6 @@ g_mbr_start(struct bio *bp)
gio = (struct g_ioctl *)bp->bio_data;
switch (gio->cmd) {
- case DIOCGMBR:
- /* Return a copy of the disklabel to userland. */
- bcopy(mp->sec0, gio->data, 512);
- g_io_deliver(bp, 0);
- return (1);
case DIOCSMBR:
/*
* These we cannot do without the topology lock and some
OpenPOWER on IntegriCloud