Subject: Re: NFSv3 bugfixes/patches for NetBSD-current
To: None <jtk@kolvir.blrc.ma.us>
From: Charles M. Hannum <mycroft@ai.mit.edu>
List: tech-kern
Date: 03/30/1995 10:05:32
   +#if NetBSD >= 1994101
   +	for (mp = mountlist.cqh_first; mp != NULL; mp = mp->mnt_list.cqe_next) {
   +#else

That's wrong.  It needs to be:

	for (mp = mountlist.cqh_first; mp != (void *)&mountlist;
	     mp = mp->mnt_list.cqe_next) {

Otherwise you'll get stuck in an infinite loop.

I remember fixing that mount_nfs bug a while back, too.  Sigh.