Subject: Re: some fileassoc changes
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Elad Efrat <elad@NetBSD.org>
List: tech-kern
Date: 12/14/2006 11:01:43
YAMAMOTO Takashi wrote:

> the attached diff does:
> 
> - 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.
>   it also allows to remove an #ifdef FILEASSOC.

for the record, I didn't expect these ugly #ifdefs to remain too long;
the goal is to eventually have it all replaced by kauth(9) listeners.

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

yes.

-e.