summaryrefslogtreecommitdiffstats
path: root/lib/libgeom/libgeom.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-04-10 17:37:24 +0000
committerjmallett <jmallett@FreeBSD.org>2012-04-10 17:37:24 +0000
commite1c6390e1202c7ff9a0d927f04fd68267819dd5d (patch)
treed02644b081c16b6ec79f0acff13ad8d2f0377111 /lib/libgeom/libgeom.h
parent9daad3b04b7269c64f326876b55dac3ae0d7b844 (diff)
downloadFreeBSD-src-e1c6390e1202c7ff9a0d927f04fd68267819dd5d.zip
FreeBSD-src-e1c6390e1202c7ff9a0d927f04fd68267819dd5d.tar.gz
Back out r233646. Although it fixed most libgeom consumers under 32-bit
compatibility, it broke programs using devstat, under 32-bit compatibility and not. It's very difficult to fix the identifiers used by devstat, so this change is simply being backed out. Since changes to 3rd-party code seem likely, and may be necessary to properly fix 32-bit binaries on 64-bit kernel, it would seem better to make more invasive changes to fix GEOM's problems with 32-bit compatibility in general. The right thing to do is to replace all of the use of pointers as opaque identifiers with a fixed-size (64-bit or even 32-bit should be enough for tracking unique GEOM elments) field. That probably maintains source compatibility with most GEOM consumers, and allows xml2tree to make better assumptions about how to decode the identifiers. Submitted by: Anton Yuzhaninov
Diffstat (limited to 'lib/libgeom/libgeom.h')
-rw-r--r--lib/libgeom/libgeom.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libgeom/libgeom.h b/lib/libgeom/libgeom.h
index 5a38021..c951f25 100644
--- a/lib/libgeom/libgeom.h
+++ b/lib/libgeom/libgeom.h
@@ -71,8 +71,7 @@ struct gident {
enum { ISCLASS,
ISGEOM,
ISPROVIDER,
- ISCONSUMER,
- ISUNRESOLVED } lg_what;
+ ISCONSUMER } lg_what;
};
struct gmesh {
OpenPOWER on IntegriCloud