Subject: Re: vnode refcount panic, perhaps due to kern/vfs_lookup.c:lookup()
To: None <tech-kern@netbsd.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: tech-kern
Date: 03/14/2003 16:20:54
I just read some more code, and noticed that
coda/coda_vfsops.c:coda_symlink() calls vput just before calling
lookup.  From what I can tell, lookup expects that the vnode passed in
is both locked and referenced, so this seems just plain wrong.  So it
may be that there were two locks on the same vnode in lookup, and that
code is correct.  But, I really don't understand vfs/vnode rules very
well.

        Greg Troxel <gdt@ir.bbn.com>