Subject: Re: 4.99.16 (-current) panic
To: Gert Doering <gert@greenie.muc.de>
From: Antti Kantee <pooka@cs.hut.fi>
List: port-sparc64
Date: 04/10/2007 09:49:12
On Tue Apr 10 2007 at 08:30:27 +0200, Gert Doering wrote:
> > Oh, sorry, I skipped the explanation here in my previous mail.
> > The problem was that the same vnode was unlocked and released twice due
> > to programming error.  This happened if mount -u (mount(2) with the flag
> > MNT_UPDATE) was done for a directory which is *not* the root directory
> > of a file system.
> 
> ... and the problem only happened because my "mountd" binary was old
> enough to still use that call.

Yes.  It would also happen if you were to type, say, mount -u /etc /

> Thanks for tracking this down, and fixing it.  I assume that this is being
> committed already?  Or shall I open a PR?.

I committed it last night.  sys/kern/vfs_syscalls.c rev 1.309

-- 
Antti Kantee <pooka@iki.fi>                     Of course he runs NetBSD
http://www.iki.fi/pooka/                          http://www.NetBSD.org/
    "la qualité la plus indispensable du cuisinier est l'exactitude"