Date: Thu, 5 Jul 2012 09:48:31 GMT From: "W.L. Tai" <t10661789@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/169657: [dtrace] name clash between dtrace and geom.h Message-ID: <201207050948.q659mVps054049@red.freebsd.org> Resent-Message-ID: <201207050950.q659o743049719@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169657
>Category: kern
>Synopsis: [dtrace] name clash between dtrace and geom.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 05 09:50:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: W.L. Tai
>Release: 9.0 stable
>Organization:
>Environment:
>Description:
provider is a reserved word in dtrace but it is also the name of a member of
struct g_geom {
char *name;
struct g_class *class;
LIST_ENTRY(g_geom) geom;
LIST_HEAD(,g_consumer) consumer;
LIST_HEAD(,g_provider) provider;
TAILQ_ENTRY(g_geom) geoms; /* XXX: better name */
int rank;
g_start_t *start;
g_spoiled_t *spoiled;
g_attrchanged_t *attrchanged;
g_dumpconf_t *dumpconf;
g_access_t *access;
g_orphan_t *orphan;
g_ioctl_t *ioctl;
void *spare0;
void *spare1;
void *softc;
unsigned flags;
#define G_GEOM_WITHER 1
#define G_GEOM_VOLATILE_BIO 2
};
struct g_consumer and struct g_provider.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207050948.q659mVps054049>
