DragonFly commits List (threaded) for 2004-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern vfs_cache.c src/sys/sys namecache.h vnode.h
hmp 2004/06/03 08:54:14 PDT
DragonFly src repository
Modified files:
sys/kern vfs_cache.c
sys/sys namecache.h vnode.h
Log:
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.
Revision Changes Path
1.19 +13 -7 src/sys/kern/vfs_cache.c
1.5 +0 -1 src/sys/sys/namecache.h
1.17 +3 -0 src/sys/sys/vnode.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cache.c.diff?r1=1.18&r2=1.19&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/namecache.h.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vnode.h.diff?r1=1.16&r2=1.17&f=h
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]