From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [some sanity for a change] possible design issues for hybrids Date: Thu, 26 Aug 2004 21:46:00 -0700 (PDT) Message-ID: References: <20040826223625.GB21964@parcelfarce.linux.theplanet.co.uk> <20040826225308.GC21964@parcelfarce.linux.theplanet.co.uk> <20040826234048.GD21964@parcelfarce.linux.theplanet.co.uk> <20040827010147.GE21964@parcelfarce.linux.theplanet.co.uk> <20040827034550.GG21964@parcelfarce.linux.theplanet.co.uk> <20040827043058.GH21964@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Denis Vlasenko , Rik van Riel , Diego Calleja , jamie@shareable.org, christophe@saout.de, christer@weinigel.se, spam@tnonline.net, akpm@osdl.org, wichert@wiggy.net, jra@samba.org, reiser@namesys.com, hch@lst.de, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, flx@namesys.com, reiserfs-list@namesys.com Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com To: viro@parcelfarce.linux.theplanet.co.uk In-Reply-To: List-Id: linux-fsdevel.vger.kernel.org On Thu, 26 Aug 2004, Linus Torvalds wrote: > > > if (vfsmount is marked as hybrid && dentry == vfsmount->mnt_dentry) > > return; > > Hmm.. Here we shouldn't have a vfsmount. If we have one, that means that > we found it in the hashes, and we should just have returned it > immediately (whether hybrid or not doesn't matter at that point). Ahh, I misunderstood you. You mean that if the _old_ vfsmount was already a hybrid one, we won't try to recurse if we didn't find any other, so we return NULL at that point. Got it. Yes, I bow before your cunningness. Linus