Subject: CVS commit: src/sys/miscfs/kernfs
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 05/07/2004 15:06:15
Module Name:	src
Committed By:	cl
Date:		Fri May  7 15:06:15 UTC 2004

Modified Files:
	src/sys/miscfs/kernfs: kernfs.h kernfs_vnops.c

Log Message:
Make lookup and readdir return the same inode number.  kernfs_readdir
now uses kernfs_allocvp to map from kernfs entry to inode number,
kernfs_allocvp is now the only place where entries are mapped to inode
numbers.  Also make KERNFS_FILENO not return random results for entries
not in kern_targets.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/miscfs/kernfs/kernfs.h
cvs rdiff -r1.100 -r1.101 src/sys/miscfs/kernfs/kernfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.