Subject: Re: CVS commit: syssrc/sys/compat/linux/common
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 03/24/2002 01:25:16
In article <20020324003235.A3B7DB004@cvs.netbsd.org>,
Jaromir Dolecek <jdolecek@netbsd.org> wrote:
>* don't need to use FILE_{,UN}USE() here, the code won't block while
>  using the pointer

It is a good practice to use these, or mention in a comment why you don't
need to use them. People copy code and change it and there is where mistakes
are made. Right now there is no contract for many kernel functions if they
can block or not, so the best thing is to err on the safe side.

christos