Cleanup the textvp_fullpath() function; summary of changes:
authorHiten Pandya <hmp@dragonflybsd.org>
Thu, 3 Jun 2004 15:54:14 +0000 (15:54 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Thu, 3 Jun 2004 15:54:14 +0000 (15:54 +0000)
commitb310dfc421f82adcc78c24f4696569db02cbfcc0
tree939c8b48e247ab19b0099407f3dac4c965d24a15
parentaf7d91375c21d5055af5fd0467d1d5b5dbd3300f
Cleanup the textvp_fullpath() function; summary of changes:

* rename it to vn_fullpath(), and move prototype to sys/vnode.h;
  for now, keep a compat macro called textvp_fullpath(); this
  macro is temporary until I change linprocfs and procfs to play
  with vn_fullpath().

* rename last argument to 'freebuf', instead of 'retfreebuf'.

* if the second argument (vnode pointer) is NULL, fall back
  and use the passed-in process' p->p_textvp.

* make sure the client passes a process pointer, otherwise
  return EINVAL.

A manual page will be added real soon.
sys/kern/vfs_cache.c
sys/sys/namecache.h
sys/sys/vnode.h