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

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


--On Friday, May 16, 2003 18:35:42 -0400 "David E. Cross"
<crossd@cs.rpi.edu> wrote:

> The current implementation _does_ return the vcache of the object
> that was just created, that is the vp.
That's not how I read this:

int
afs_vop_symlink(ap)
        struct vop_symlink_args /* {
                struct vnode *a_dvp;
                struct vnode **a_vpp;
                struct componentname *a_cnp;
                struct vattr *a_vap;
                char *a_target;
        } */ *ap;
[...]

    /* NFS ignores a_vpp; so do we. */
[...]
    error = afs_symlink(VTOAFS(dvp), name, ap->a_vap, ap->a_target,
                        cnp->cn_cred);


(Of course, nfs no longers ignores a_vpp)