From owner-freebsd-current Fri Mar 22 23:10:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 1A8DA37B41D; Fri, 22 Mar 2002 23:10:29 -0800 (PST) Received: from pool0002.cvx22-bradley.dialup.earthlink.net ([209.179.198.2] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16offS-0001rh-00; Fri, 22 Mar 2002 23:10:22 -0800 Message-ID: <3C9C2A45.97B62EB2@mindspring.com> Date: Fri, 22 Mar 2002 23:09:57 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alfred Perlstein Cc: ak03@gte.com, freebsd-current@FreeBSD.ORG, jroberson@chesapeake.net, arr@FreeBSD.ORG, obrien@FreeBSD.ORG Subject: Re: Found: module loading breakage References: <20020323054757.GQ10521@elvis.mu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > Good work! > > I was about to say: > "why don't you just traverse the system wide list of vnodes > and fixup the pointers?" > Then I realized that there doesn't seem to be a system wide list... :( > > You could add one, it would be trivial to add a TAILQ_ENTRY to the > vnode strcture as well as add/remove the nodes from > the list in the vnode allocation and deallocation code. > > Feel ambitious? :) Add an indirection, and replace the pointer in the indirection pointer, so that everything just works. It will take a doube-indirection to do. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message