Diff for /src/sys/kern/vfs_cache.c between versions 1.19 and 1.20

version 1.19, 2004/06/03 15:54:14 version 1.20, 2004/06/03 18:12:41
Line 1061  vn_fullpath(struct proc *p, struct vnode Line 1061  vn_fullpath(struct proc *p, struct vnode
                 return (EINVAL);                  return (EINVAL);
   
         /* vn is NULL, client wants us to use p->p_textvp */          /* vn is NULL, client wants us to use p->p_textvp */
        if (vn == NULL)        if (vn == NULL) {
                 if ((vn = p->p_textvp) == NULL)                  if ((vn = p->p_textvp) == NULL)
                         return (EINVAL);                          return (EINVAL);
           }
   
         buf = malloc(MAXPATHLEN, M_TEMP, M_WAITOK);          buf = malloc(MAXPATHLEN, M_TEMP, M_WAITOK);
         bp = buf + MAXPATHLEN - 1;          bp = buf + MAXPATHLEN - 1;

Removed from v.1.19  
changed lines
  Added in v.1.20