Subject: CVS commit: [netbsd-2-0] src/sys/miscfs/kernfs
To: None <source-changes@NetBSD.org>
From: Julian Coleman <firstname.lastname@example.org>
Date: 05/14/2004 06:31:44
Module Name: src
Committed By: jdc
Date: Fri May 14 06:31:44 UTC 2004
src/sys/miscfs/kernfs [netbsd-2-0]: kernfs_vnops.c
Pull up revision 1.100 and 1.101 (requested by cl in ticket #322).
Find the right entry when doing lookup on dotdot in kern/ipsec subdirs.
Also remove some duplicate code.
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.98 -r18.104.22.168 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.