Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261356AbVEUNqk (ORCPT ); Sat, 21 May 2005 09:46:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261583AbVEUNqh (ORCPT ); Sat, 21 May 2005 09:46:37 -0400 Received: from mail.shareable.org ([81.29.64.88]:17882 "EHLO mail.shareable.org") by vger.kernel.org with ESMTP id S261356AbVEUNq0 (ORCPT ); Sat, 21 May 2005 09:46:26 -0400 Date: Sat, 21 May 2005 14:46:15 +0100 From: Jamie Lokier To: Miklos Szeredi Cc: linuxram@us.ibm.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, akpm@osdl.org, viro@parcelfarce.linux.theplanet.co.uk Subject: Re: [RFC][PATCH] rbind across namespaces Message-ID: <20050521134615.GB4274@mail.shareable.org> References: <1116627099.4397.43.camel@localhost> <1116660380.4397.66.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 674 Lines: 17 Miklos Szeredi wrote: > I still see a problem: what if old_nd.mnt is already detached, and > bind is non-recursive. Now it fails with EINVAL, though it used to > work (and I think is very useful). Hey, you just made another argument for not detaching mounts when the last task with that current->namespace exits, but instead detaching mounts when the last reference to any vfsmnt in the namespace is dropped. Hint :) -- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/