diff options
author | phk <phk@FreeBSD.org> | 2003-04-03 19:37:40 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-03 19:37:40 +0000 |
commit | ffdec08c2c26f9d96e5887f5db3e643fd2b77817 (patch) | |
tree | 2d158f756d3f06b906c2aedd1626be1405f86cd5 /sys/geom | |
parent | 8207e9e353dbeb83f80376f31b4c525f09eae776 (diff) | |
download | FreeBSD-src-ffdec08c2c26f9d96e5887f5db3e643fd2b77817.zip FreeBSD-src-ffdec08c2c26f9d96e5887f5db3e643fd2b77817.tar.gz |
Retire the DIOCGMBR ioctl before anybody starts to use it.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_mbr.c | 5 |
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 |