Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765827AbXHHHgl (ORCPT ); Wed, 8 Aug 2007 03:36:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755978AbXHHHg1 (ORCPT ); Wed, 8 Aug 2007 03:36:27 -0400 Received: from rv-out-0910.google.com ([209.85.198.190]:32174 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758436AbXHHHgD (ORCPT ); Wed, 8 Aug 2007 03:36:03 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=P0xoSKJcstVwX1W3RmIlr9rj5yQ8GpFTWdCFWR1l8/UEx3YMK4xPkG2n3MJQwRZgO3wCjDfYj67v5lcbsC0uiU51KISxBq4EDxwoU0nMsl/Bp5UeveeXzue4KvCM94uhs0SImzXLstGPPJv90ihYhASC03uP5Nlccp3RhenPhkM= Date: Wed, 8 Aug 2007 16:35:55 +0900 From: Tejun Heo To: "Eric W. Biederman" Cc: Greg KH , linux-kernel@vger.kernel.org, satyam@infradead.org, cornelia.huck@de.ibm.com, stern@rowland.harvard.edu, Linux Containers , gregkh@suse.de Subject: Re: [PATCH 07/25] sysfs: Rewrite sysfs_drop_dentry. Message-ID: <20070808073555.GA13674@htj.dyndns.org> References: <11860582832964-git-send-email-htejun@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 703 Lines: 18 On Tue, Aug 07, 2007 at 03:14:56PM -0600, Eric W. Biederman wrote: > > Currently we find the dentry to drop by looking at sd->s_dentry. > We can just as easily accomplish the same task by looking up the > sysfs inode and finding all of the dentries from there, with the > added bonus that we don't need to play with the sysfs_assoc_lock. > > Signed-off-by: Eric W. Biederman Great, Acked-by: Tejun Heo -- tejun - 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/