From owner-freebsd-current Sat Sep 5 10:30:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20505 for freebsd-current-outgoing; Sat, 5 Sep 1998 10:30:51 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20456; Sat, 5 Sep 1998 10:30:43 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id DAA09419; Sun, 6 Sep 1998 03:29:34 +1000 Date: Sun, 6 Sep 1998 03:29:34 +1000 From: Bruce Evans Message-Id: <199809051729.DAA09419@godzilla.zeta.org.au> To: bde@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: 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 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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 This should have no visible effect except for fixing nfsstat when nfs is an LKM, but out of date vfs LKMs will probably break. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message