diff options
author | phk <phk@FreeBSD.org> | 2004-02-12 22:42:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-02-12 22:42:11 +0000 |
commit | 124977fbb6c505edf20e1c4b862194c84d39f1eb (patch) | |
tree | b700329baa11c7dbd187df0ad4e8480d842ec8fa /sys/geom/geom.h | |
parent | e929b29355b485b504986972ea051a80ca2254e7 (diff) | |
download | FreeBSD-src-124977fbb6c505edf20e1c4b862194c84d39f1eb.zip FreeBSD-src-124977fbb6c505edf20e1c4b862194c84d39f1eb.tar.gz |
Remove the absolute count g_access_abs() function since experience has
shown that it is not useful.
Rename the relative count g_access_rel() function to g_access(), only
the name has changed.
Change all g_access_rel() calls in our CVS tree to call g_access() instead.
Add an #ifndef BURN_BRIDGES #define of g_access_rel() for source
code compatibility.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index 0514a19..63db46a 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -202,8 +202,10 @@ void g_orphan_provider(struct g_provider *pp, int error); void g_waitidle(void); /* geom_subr.c */ -int g_access_abs(struct g_consumer *cp, int nread, int nwrite, int nexcl); -int g_access_rel(struct g_consumer *cp, int nread, int nwrite, int nexcl); +int g_access(struct g_consumer *cp, int nread, int nwrite, int nexcl); +#ifndef BURN_BRIDGES +#define g_access_rel(a, b, c, d) g_access(a, b, c, d) +#endif int g_attach(struct g_consumer *cp, struct g_provider *pp); void g_destroy_consumer(struct g_consumer *cp); void g_destroy_geom(struct g_geom *pp); |