Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262532AbUCaAf3 (ORCPT ); Tue, 30 Mar 2004 19:35:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263079AbUCaAf3 (ORCPT ); Tue, 30 Mar 2004 19:35:29 -0500 Received: from mail.kroah.org ([65.200.24.183]:57813 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S262532AbUCaAfX (ORCPT ); Tue, 30 Mar 2004 19:35:23 -0500 Date: Tue, 30 Mar 2004 16:34:47 -0800 From: Greg KH To: David Brownell Cc: Alan Stern , Andrew Morton , maneesh@in.ibm.com, viro@math.psu.edu, linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: Unregistering interfaces Message-ID: <20040331003447.GC10262@kroah.com> References: <406A0C15.7090506@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <406A0C15.7090506@pacbell.net> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1062 Lines: 28 On Tue, Mar 30, 2004 at 04:08:53PM -0800, David Brownell wrote: > Alan Stern wrote: > > > I'm in favor of changing the behavior of sysfs, so that either it > >refuses to delete directories that contain subdirectories or else it > >recursively deletes the subdirectories first. At this point nothing has > >been settled. > > Hmm, certainly I agree khubd should be deleting things bottom-up. > > Are you say it isn't doing that already? Or that it's trying to, > but something's preventing that from working? Look at everything that hangs off of usb devices in the sysfs tree that the usb core knows nothing about (scsi hosts, tty devices, etc.) Anyway, it's working properly now, and is why I added that kobject parent patch a long time ago (which Alan still seems to think is incorrect...) thanks, greg k-h - 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/