Date: Sat, 5 Sep 1998 10:13:28 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_lkm.c kern_sysctl.c vfs_init.c src/sys/nfs nfs_vfsops.c src/sys/sys sysctl.h Message-ID: <199809051713.KAA16547@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/09/05 10:13:28 PDT Modified files: sys/kern kern_lkm.c kern_sysctl.c vfs_init.c sys/nfs nfs_vfsops.c sys/sys sysctl.h Log: Ignore the statically configured vfs type numbers and assign vfs type numbers in vfs attach order (modulo incomplete reuse of old numbers after vfs LKMs are unloaded). This requires reinitializing the sysctl tree (or at least the vfs subtree) for vfs's that support sysctls (currently only nfs). sysctl_order() already handled reinitialization reasonably except it checked for annulled self references in the wrong place. Fixed sysctls for vfs LKMs. Revision Changes Path 1.55 +41 -8 src/sys/kern/kern_lkm.c 1.77 +10 -2 src/sys/kern/kern_sysctl.c 1.33 +12 -10 src/sys/kern/vfs_init.c 1.74 +4 -2 src/sys/nfs/nfs_vfsops.c 1.65 +2 -1 src/sys/sys/sysctl.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809051713.KAA16547>