Re: Kernel panic on fs mkmount
Chaskiel M Grundman <[email protected]>
| Newsgroups | gmane.comp.file-systems.openafs.freebsd |
|---|---|
| Message-ID | <[email protected]> |
--On Friday, May 16, 2003 14:27:53 -0400 "David E. Cross" <[email protected]> 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.