[OpenAFS-port-freebsd] Kernel panic on fs mkmount

Chaskiel M Grundman cg2v@andrew.cmu.edu
Fri, 16 May 2003 18:12:09 -0400


--On Friday, May 16, 2003 14:27:53 -0400 "David E. Cross"
<crossd@cs.rpi.edu> wrote:

> My _hack_  ( a nasty one), is to call vref() on the
> link itself and pass it back as _both_ the linkvp and the directoryvp. 
This shouldn't be necesary. We can either

1) create a variation of afs_symlink that returns the vcache object that it
always creates on success (and have afs_symlink itself be a wrapper around
the new function that also frees the reference on the returned vcache)
2) call afs_lookup on success. That ought to be nearly "free", unless the
directory was not previously cached.

I can't test freebsd stuff right now, since I lent my freebsd-running box
to someone who's hardware died.