From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [sysfs] why ->delete_inode() instead of ->clear_inode()? Date: Sat, 29 May 2010 17:45:54 -0700 Message-ID: References: <20100529054321.GN31073@ZenIV.linux.org.uk> <20100529113625.GO31073@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Eric W. Biederman" , linux-fsdevel@vger.kernel.org To: Al Viro Return-path: Received: from out02.mta.xmission.com ([166.70.13.232]:33215 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757388Ab0E3Ap7 (ORCPT ); Sat, 29 May 2010 20:45:59 -0400 In-Reply-To: <20100529113625.GO31073@ZenIV.linux.org.uk> (Al Viro's message of "Sat\, 29 May 2010 12\:36\:25 +0100") Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Al Viro writes: > On Sat, May 29, 2010 at 12:06:34AM -0700, Eric W. Biederman wrote: > >> >From the look of things proc_delete_inode can also be changed to a clear_inode >> method if that is preferred. > > Already that way in the local tree, along with quite a few other filesystems... It has been my goal, to get sysfs looking roughly like other filesystems in the kernel. I'm glad to see that sysfs is finally looking enough like other filesystems it can participate in global cleanups. Eric