Subject: Re: mp->mnt_vnodelist change
To: None <tech-kern@netbsd.org>
From: Peter Postma <peter@pointless.nl>
List: tech-kern
Date: 10/20/2006 14:23:51
On Fri, Oct 20, 2006 at 11:38:28AM +1000, Simon Burge wrote:
> 
> In retrospect with the following suggestions, it would have been easier
> to say "try to use TAILQ_FOREACH every time you see a for loop, rather
> than list them all out...
> 

That can be dangerous if there are elements removed in the loop.
This seems at least be the case in sys/kern/vfs_subr.c.

-- 
Peter Postma