Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 12/14/2006 09:24:54
Module Name:	src
Committed By:	yamt
Date:		Thu Dec 14 09:24:54 UTC 2006

Modified Files:
	src/sys/kern: kern_fileassoc.c vfs_syscalls.c

Log Message:
- just associate fileassoc "table" to struct mount.
  because the latter is always available during the lifetime of the former,
  there is little point to use another global list to keep track of them.
  it also allows to remove an #ifdef FILEASSOC.

- avoid some operations (memory allocation and VOP) in fileassoc_file_lookup,
  when fileassoc table is not used.

ok'ed by elad.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/kern/kern_fileassoc.c
cvs rdiff -r1.280 -r1.281 src/sys/kern/vfs_syscalls.c

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