diff options
author | phk <phk@FreeBSD.org> | 2003-05-01 20:32:24 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-01 20:32:24 +0000 |
commit | c51ae09b82c6938c30e4aaba3ea20b3fec474081 (patch) | |
tree | 76ebd76d3ff15cdd93c9780fa8696e1fef7d3d8f /sys/geom/geom.h | |
parent | 8a6199b879f9cc48d8ff97cebb27fe5e1db09b58 (diff) | |
download | FreeBSD-src-c51ae09b82c6938c30e4aaba3ea20b3fec474081.zip FreeBSD-src-c51ae09b82c6938c30e4aaba3ea20b3fec474081.tar.gz |
Remove the now obsolete geomidorname hack.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index 80d2949..2e395c1 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -176,26 +176,6 @@ struct g_provider { #define G_PF_CANDELETE 0x1 }; -/* - * This gadget is used by userland to pinpoint a particular instance of - * something in the kernel. The name is unreadable on purpose, people - * should not encounter it directly but use library functions to deal - * with it. - * If len is zero, "id" contains a cast of the kernel pointer where the - * entity is located, (likely derived from the "id=" attribute in the - * XML config) and the g_id*() functions will validate this before allowing - * it to be used. - * If len is non-zero, it is the strlen() of the name which is pointed to - * by "name". - */ -struct geomidorname { - u_int len; - union { - const char *name; - uintptr_t id; - } u; -}; - /* geom_dev.c */ int g_dev_print(void); @@ -239,10 +219,6 @@ void g_spoil(struct g_provider *pp, struct g_consumer *cp); int g_std_access(struct g_provider *pp, int dr, int dw, int de); void g_std_done(struct bio *bp); void g_std_spoiled(struct g_consumer *cp); -struct g_class *g_idclass(struct geomidorname *); -struct g_geom *g_idgeom(struct geomidorname *); -struct g_provider *g_idprovider(struct geomidorname *); - /* geom_io.c */ struct bio * g_clone_bio(struct bio *); |