NetBSD/sys/fs/smbfs
dholland 1617a81dd1 Disentangle the namecache from the internals of namei.
- Move the namecache's hash computation to inside the namecache code,
instead of being spread out all over the place. Remove cn_hash from
struct componentname and delete all uses of it.

 - It is no longer necessary (if it ever was) for cache_lookup and
cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases
that cache_enter already checks for.

 - Rearrange the interface of cache_lookup (and cache_lookup_raw) to
make it somewhat simpler, to exclude certain nonexistent error
conditions, and (most importantly) to make it not require write access
to cnp->cn_flags.

This change requires a kernel bump.
2012-11-05 17:24:09 +00:00
..
files.smbfs
Makefile
smbfs_io.c
smbfs_kq.c extending vmem(9) to be able to allocated resources for it's own needs. 2012-01-27 19:48:38 +00:00
smbfs_node.c
smbfs_node.h
smbfs_smb.c
smbfs_subr.c
smbfs_subr.h
smbfs_vfsops.c
smbfs_vnops.c Disentangle the namecache from the internals of namei. 2012-11-05 17:24:09 +00:00
smbfs.h