From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH 1/4] VFS: Add a VFS helper function vfs_remote_path_lookup() Date: Thu, 2 Apr 2009 20:57:59 +0100 Message-ID: <20090402195759.GL28946@ZenIV.linux.org.uk> References: <3f1264127d431f695be25b940b477e3d287edc68.1238525532.git.Trond.Myklebust@netapp.com> <20090401021554.GV28946@ZenIV.linux.org.uk> <1238616394.24360.2.camel@heimdal.trondhjem.org> <20090401202629.GG28946@ZenIV.linux.org.uk> <1238628133.24360.51.camel@heimdal.trondhjem.org> <20090401233252.GH28946@ZenIV.linux.org.uk> <1238629407.19782.5.camel@heimdal.trondhjem.org> <20090402191709.GJ28946@ZenIV.linux.org.uk> <1238700874.16087.42.camel@heimdal.trondhjem.org> <20090402195212.GK28946@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , linux-fsdevel@vger.kernel.org To: Trond Myklebust Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:34195 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753159AbZDBT6D (ORCPT ); Thu, 2 Apr 2009 15:58:03 -0400 Content-Disposition: inline In-Reply-To: <20090402195212.GK28946@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Apr 02, 2009 at 08:52:12PM +0100, Al Viro wrote: > And analog of that sucker (RFCNAMEG) is just about what you are doing > (well, that + attaching your vfsmount as separate action). So how about > about CLONE_CLEANNS and passing it in flags? Linus, do you have any > objections against such a flag? It'd give you a new instance of > rootfs (empty, obviously) as root and flip root/pwd to it. *growl* Right, we are out of clone() flags, thanks to namespace-of-the-week insanity by openvz bunch ;-/