From 5965373e69ca208cedd8ede9716ef0d58e6c3434 Mon Sep 17 00:00:00 2001 From: Maxime Henrion Date: Sat, 10 Aug 2002 20:19:04 +0000 Subject: - Introduce a new struct xvfsconf, the userland version of struct vfsconf. - Make getvfsbyname() take a struct xvfsconf *. - Convert several consumers of getvfsbyname() to use struct xvfsconf. - Correct the getvfsbyname.3 manpage. - Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the kernel, and rewrite getvfsbyname() to use this instead of the weird existing API. - Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist sysctl. - Convert a vfsload() call in nfsiod.c to kldload() and remove the useless vfsisloadable() and endvfsent() calls. - Add a warning printf() in vfs_sysctl() to tell people they are using an old userland. After these changes, it's possible to modify struct vfsconf without breaking the binary compatibility. Please note that these changes don't break this compatibility either. When bp will have updated mount_smbfs(8) with the patch I sent him, there will be no more consumers of the {set,get,end}vfsent(), vfsisloadable() and vfsload() API, and I will promptly delete it. --- usr.bin/find/function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/find/function.c') diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 66f92b12b9c8..31e1a651767b 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -834,7 +834,7 @@ c_fstype(option, argvp) { char *fsname; PLAN *new; - struct vfsconf vfc; + struct xvfsconf vfc; fsname = nextarg(option, argvp); ftsoptions &= ~FTS_NOSTAT; -- cgit v1.3