Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 23:37:40 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        cjclark@alum.mit.edu
Cc:        Udo Schweigert <udo.schweigert@siemens.com>, stable@FreeBSD.ORG
Subject:   Re: vnode.h broke pstat on -stable
Message-ID:  <3BCFCA34.F416138A@owt.com>
References:  <20011019081923.A26473@alaska.cert.siemens.de> <20011018233135.I300@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help


"Crist J. Clark" wrote:
> 
> On Fri, Oct 19, 2001 at 08:19:23AM +0200, Udo Schweigert wrote:
> > Hi all,
> >
> > one of the recent changes to sys/sys/vnode.h broke usr.sbin/pstat since now
> > VTBFREE is not defined any more:
> >
> > ===> usr.sbin/pstat
> > cc -O -pipe  -I/usr/src/usr.sbin/pstat/../../sys   -I/usr/obj/usr/src/i386/usr/include  -c /usr/src/usr.sbin/pstat/pstat.c
> > /usr/src/usr.sbin/pstat/pstat.c: In function `vnode_print':
> > /usr/src/usr.sbin/pstat/pstat.c:451: `VTBFREE' undeclared (first use in this function)
> > /usr/src/usr.sbin/pstat/pstat.c:451: (Each undeclared identifier is reported only once
> > /usr/src/usr.sbin/pstat/pstat.c:451: for each function it appears in.)
> > *** Error code 1 (continuing)
> >
> >
> > Maybe someone can fix that.
> 
> It's still there,
> 
>   $ fgrep -e \$FreeBSD -e VTBFREE vnode.h
>    * $FreeBSD: src/sys/sys/vnode.h,v 1.111.2.13 2001/10/05 20:07:07 dillon Exp $
>   #define VTBFREE         0x100000 /* This vnode is on the to-be-freelist */
>           (((vp)->v_flag & (VFREE|VTBFREE)) && \
> 
> Do you maybe have a -CURRENT vnode.h?

VTBFREE was eliminated from pstat.c a couple of days ago but the
change hadn't made it to cvsup7 until jdp restarted it this afternoon.
You may be seeing something similar.

Kent

> --
> Crist J. Clark                     |     cjclark@alum.mit.edu
>                                    |     cjclark@jhu.edu
> http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://users.owt.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BCFCA34.F416138A>