Subject: Re: procfs locking troubles
To: enami tsugutomo <enami@but-b.or.jp>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: current-users
Date: 02/15/2004 11:54:30
enami tsugutomo wrote:
> fd_getfile() in procfs_readdir() is suspicious.
Yeah, that's the bug. The call misses FILE_USE()/FILE_UNUSE()
which are mandatory after recent descriptor simplelock changes.
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-