From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [PATCH 12/13] sysfs: Propagate renames to the vfs on demand Date: Fri, 06 Nov 2009 18:16:29 -0800 Message-ID: References: <1257249429-12384-12-git-send-email-ebiederm@xmission.com> <20091104214938.GA21033@us.ibm.com> <4AF4D76C.6090008@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Serge E. Hallyn" , Greg Kroah-Hartman , Kay Sievers , Greg KH , linux-kernel@vger.kernel.org, Cornelia Huck , linux-fsdevel@vger.kernel.org, Eric Dumazet , Benjamin LaHaise , "Eric W. Biederman" To: Tejun Heo Return-path: In-Reply-To: <4AF4D76C.6090008@kernel.org> (Tejun Heo's message of "Sat\, 07 Nov 2009 11\:11\:56 +0900") Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Tejun Heo writes: > Hello, > > Eric W. Biederman wrote: >> It isn't what I want but it is what the VFS requires. If let the vfs >> continue on it's delusional state we will leak the vfs mount and >> everything mounted on top of it, with no way to remove the mounts. > > This is caused by not having any way to prevent deletion on > directories with submounts, right? How does other distributed > filesystems deal with directories with submounts going away underneath > it? NFS does exactly the same thing I am doing. Eric