Subject: CVS commit: [netbsd-2-0] src/sys/miscfs/kernfs
To: None <source-changes@NetBSD.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 05/14/2004 06:32:21
Module Name:	src
Committed By:	jdc
Date:		Fri May 14 06:32:21 UTC 2004

Modified Files:
	src/sys/miscfs/kernfs [netbsd-2-0]: kernfs.h

Log Message:
Pull up revision 1.21 (requested by cl in ticket #322).

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.20.2.1 src/sys/miscfs/kernfs/kernfs.h

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