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:34:35 -0800 Message-ID: References: <1257249429-12384-12-git-send-email-ebiederm@xmission.com> <20091104214938.GA21033@us.ibm.com> <4AF4D76C.6090008@kernel.org> <4AF4D968.3040608@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: Received: from out02.mta.xmission.com ([166.70.13.232]:38614 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752367AbZKGCev (ORCPT ); Fri, 6 Nov 2009 21:34:51 -0500 In-Reply-To: <4AF4D968.3040608@kernel.org> (Tejun Heo's message of "Sat\, 07 Nov 2009 11\:20\:24 +0900") Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Tejun Heo writes: > Hello, > > Eric W. Biederman wrote: >> NFS does exactly the same thing I am doing. > > Oh... well, sysfs directories parenting other filesystems are pretty > rare and well defined. Although it's not very pretty, I don't think > we'll see any actual problem there. Thanks for the explanation. To be perfectly clear, if we hit this ugly case. The internal sysfs_dirent tree is always what it should be. Only the VFS dentry cache doesn't get updated. Eric