Date: Mon, 17 Mar 2003 04:21:09 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_getcwd.c src/sys/kern vfs_cache.c Message-ID: <200303171221.h2HCL9SZ044709@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2003/03/17 04:21:08 PST
FreeBSD src repository
Modified files:
sys/compat/linux linux_getcwd.c
sys/kern vfs_cache.c
Log:
(This commit certainly increases the need for a wash&clean of vfs_cache.c,
but I decided that it was important for this patch to not bit-rot, and
since it is mainly moving code around, the total amount of entropy is
epsilon /phk)
This is a patch to move the common parts of linux_getcwd() back into
kern/vfs_cache.c so that the standard FreeBSD libc getcwd() can use it's
extended functionality. The linux syscall linux_getcwd() in
compat/linux/linux_getcwd.c has been rewritten to use it too. It should
be possible to simplify libc's getcwd() after this. No doubt this code
needs some cleaning up, since I've left in the sysctl variables I used
for debugging.
PR: 48169
Submitted by: James Whitwell <abacau@yahoo.com.au>
Revision Changes Path
1.11 +2 -409 src/sys/compat/linux/linux_getcwd.c
1.81 +375 -3 src/sys/kern/vfs_cache.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303171221.h2HCL9SZ044709>
