From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: ext3 and like, mount point in module Date: Sat, 1 Aug 2015 14:43:05 +0100 Message-ID: <20150801134305.GW17109@ZenIV.linux.org.uk> References: <55BCC935.2000908@nod.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tomas Bortoli , "linux-fsdevel@vger.kernel.org" To: Richard Weinberger Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:46114 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751287AbbHANnI (ORCPT ); Sat, 1 Aug 2015 09:43:08 -0400 Content-Disposition: inline In-Reply-To: <55BCC935.2000908@nod.at> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Aug 01, 2015 at 03:27:17PM +0200, Richard Weinberger wrote: > I'm not sure if it is worth the hassle, I bet some applications depend on that behavior. > But you can give it a try, I'd insert a negative dentry for ".." if ".." is child of the current > root. Leaving aside the fact that .. handling does not depend on the corresponding directory entry, why would such logics belong in the filesystem itself anyway? And not in the caller of ->lookup(), which *does* have all the information needed.