Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 27 Mar 2003 18:12:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 27 Mar 2003 18:12:15 -0500 Received: from mta6.snfc21.pbi.net ([206.13.28.240]:48342 "EHLO mta6.snfc21.pbi.net") by vger.kernel.org with ESMTP id ; Thu, 27 Mar 2003 18:12:14 -0500 Date: Thu, 27 Mar 2003 15:34:51 -0800 From: David Brownell Subject: Re: 2.5.recent: device_remove_file() doesn't To: Patrick Mochel Cc: linux-kernel@vger.kernel.org, greg@kroah.com, andmike@us.ibm.com Message-id: <3E838A9B.8040707@pacbell.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en, fr User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 608 Lines: 26 Thanks, it resolved that problem. - Dave > --- 1.84/fs/sysfs/inode.c Tue Mar 11 15:30:18 2003 > +++ edited/fs/sysfs/inode.c Thu Mar 27 11:53:44 2003 > @@ -97,7 +97,7 @@ > atomic_read(&victim->d_count)); > > simple_unlink(dir->d_inode,victim); > - > + d_delete(victim); > } > /* > * Drop reference from sysfs_get_dentry() above. > > - 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/