Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262652AbUAGXKB (ORCPT ); Wed, 7 Jan 2004 18:10:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262674AbUAGXKB (ORCPT ); Wed, 7 Jan 2004 18:10:01 -0500 Received: from mail.kroah.org ([65.200.24.183]:46032 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S262652AbUAGXJ7 (ORCPT ); Wed, 7 Jan 2004 18:09:59 -0500 Date: Wed, 7 Jan 2004 14:34:11 -0800 From: Greg KH To: Alan Stern Cc: Kernel development list , Patrick Mochel Subject: Re: Inconsistency in sysfs behavior? Message-ID: <20040107223411.GA2029@kroah.com> References: <20040107215624.GC1083@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 Lines: 19 On Wed, Jan 07, 2004 at 05:24:08PM -0500, Alan Stern wrote: > The real problem was finding a way to indicate that the file was > disconnected from its kobject. I did that by setting > dentry->d_inode->i_mode to 0. (I didn't want to erase dentry->d_fsdata > for fear that it might be needed somewhere else.) That's definitely not a > good way; it was intended only for my proof-of-principle. No doubt > someone else could do a much better job. Because this is the hardest part, it's easier just to have the behavior we currently have :) 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/