diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-05 16:35:33 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-05 16:35:33 +0000 |
commit | 3bd65612892bf45be964680c677d5f939b06ca39 (patch) | |
tree | 281a4e3831a5ca364a19928efbfe097201919121 /sys/geom/geom_disk.c | |
parent | 226b96fb6d8a532282d4e9f557370416c7c34972 (diff) | |
download | src-test-3bd65612892bf45be964680c677d5f939b06ca39.tar.gz src-test-3bd65612892bf45be964680c677d5f939b06ca39.zip |
Notes
Diffstat (limited to 'sys/geom/geom_disk.c')
-rw-r--r-- | sys/geom/geom_disk.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index 23539243721ea..212e073fc791d 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -35,6 +35,9 @@ * $FreeBSD$ */ +#include "opt_geom.h" +#ifndef NO_GEOM + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -263,15 +266,6 @@ disk_invalidate (struct disk *disk) { } -SYSCTL_INT(_debug_sizeof, OID_AUTO, disklabel, CTLFLAG_RD, - 0, sizeof(struct disklabel), "sizeof(struct disklabel)"); - -SYSCTL_INT(_debug_sizeof, OID_AUTO, diskslices, CTLFLAG_RD, - 0, sizeof(struct diskslices), "sizeof(struct diskslices)"); - -SYSCTL_INT(_debug_sizeof, OID_AUTO, disk, CTLFLAG_RD, - 0, sizeof(struct disk), "sizeof(struct disk)"); - static void g_kern_disks(void *p) { @@ -309,3 +303,5 @@ sysctl_disks(SYSCTL_HANDLER_ARGS) SYSCTL_PROC(_kern, OID_AUTO, disks, CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_NOLOCK, 0, 0, sysctl_disks, "A", "names of available disks"); + +#endif |