Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2002 04:31:10 -0400 (EDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Mike Barcroft <mike@FreeBSD.org>
Cc:        jeff@FreeBSD.org, <current@FreeBSD.org>
Subject:   Re: i386 tinderbox failure
Message-ID:  <20020805043003.L86323-100000@mail.chesapeake.net>
In-Reply-To: <20020805031658.A29240@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Aug 2002, Mike Barcroft wrote:

> Dag-Erling Smorgrav <des@FreeBSD.org> writes:
> > cc1: warnings being treated as errors
> > /local0/scratch/des/src/sys/kern/vfs_cache.c: In function `vn_fullpath':
> > /local0/scratch/des/src/sys/kern/vfs_cache.c:824: warning: `vp' might be used uninitialized in this function
> > *** Error code 1
>
> Jeff,
> This assertion can't be right since vp will always be uninitialized.
> Does it need to be moved into the for loop a few lines below, or is
> checking vn sufficient?
>
> Best regards,
> Mike Barcroft
>

Yeah, it needs to be moved into the loop.  Really, I put the assertion
there so I would fix this later.  I already know that it will fail.  I
guess I didn't notice that I had turned of DEBUG_VFS_LOCKS in my kernel
config.  Thanks for pointing this out.

Jeff


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020805043003.L86323-100000>