From owner-cvs-all Sat Sep 5 08:17:42 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA01048 for cvs-all-outgoing; Sat, 5 Sep 1998 08:17:42 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA01043; Sat, 5 Sep 1998 08:17:41 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA13736; Sat, 5 Sep 1998 08:17:35 -0700 (PDT) Date: Sat, 5 Sep 1998 08:17:35 -0700 (PDT) Message-Id: <199809051517.IAA13736@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_subr.c src/sys/nfs nfs_nqlease.c nfs_subs.c src/sys/sys mount.h src/sys/vm vnode_pager.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/09/05 08:17:34 PDT Modified files: sys/kern vfs_subr.c sys/nfs nfs_nqlease.c nfs_subs.c sys/sys mount.h sys/vm vnode_pager.c Log: Instantiate `nfs_mount_type' in a standard file so that it is present when nfs is an LKM. Declare it in a header file. Don't forget to use it in non-Lite2 code. Initialize it to -1 instead of to 0, since 0 will soon be the mount type number for the first vfs loaded. NetBSD uses strcmp() to avoid this ugly global. Revision Changes Path 1.162 +2 -1 src/sys/kern/vfs_subr.c 1.38 +1 -2 src/sys/nfs/nfs_nqlease.c 1.64 +1 -2 src/sys/nfs/nfs_subs.c 1.66 +2 -1 src/sys/sys/mount.h 1.98 +2 -3 src/sys/vm/vnode_pager.c