diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 1998-10-05 11:10:55 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-10-05 11:10:55 +0000 |
| commit | efcddb8e3959972b788b3e57dc00c8c0abcfeb97 (patch) | |
| tree | 8c3826a018f4c36009bde93a4806b4a795f00a4a /sys/kern/vfs_init.c | |
| parent | 264ba5c0fe0861fa882c430926a26a74b2c0ad6d (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_init.c')
| -rw-r--r-- | sys/kern/vfs_init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index af89aa6bd001..ba9d001e3bf8 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_init.c 8.3 (Berkeley) 1/4/94 - * $Id: vfs_init.c,v 1.32 1998/02/09 06:09:33 eivind Exp $ + * $Id: vfs_init.c,v 1.33 1998/09/05 17:13:27 bde Exp $ */ @@ -249,9 +249,10 @@ vfsinit(dummy) vfs_opv_init(vfs_opv_descs); /* finish the job */ /* * Initialize each file system type. + * Vfs type numbers must be distinct from VFS_GENERIC (and VFS_VFSCONF). */ vattr_null(&va_null); - maxtypenum = 0; + maxtypenum = VFS_GENERIC + 1; vfc = (struct vfsconf **)vfs_set.ls_items; vfsconf = *vfc; for (; *vfc != NULL; maxtypenum++, vfc++) { |
