Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 1998 03:29:34 +1000
From:      Bruce Evans <bde@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
Message-ID:  <199809051729.DAA09419@godzilla.zeta.org.au>

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809051729.DAA09419>