Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262337AbTHYUzo (ORCPT ); Mon, 25 Aug 2003 16:55:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262335AbTHYUyN (ORCPT ); Mon, 25 Aug 2003 16:54:13 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:62419 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262328AbTHYUyH (ORCPT ); Mon, 25 Aug 2003 16:54:07 -0400 Date: Mon, 25 Aug 2003 21:54:04 +0100 From: viro@parcelfarce.linux.theplanet.co.uk To: Bartlomiej Zolnierkiewicz Cc: Benjamin Herrenschmidt , linux-kernel mailing list Subject: Re: [PATCH] Fix ide unregister vs. driver model Message-ID: <20030825205403.GL454@parcelfarce.linux.theplanet.co.uk> References: <1061730317.31688.10.camel@gaston> <200308250023.39596.bzolnier@elka.pw.edu.pl> <1061793253.779.27.camel@gaston> <200308251317.37333.bzolnier@elka.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308251317.37333.bzolnier@elka.pw.edu.pl> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 13 On Mon, Aug 25, 2003 at 10:50:27PM +0200, Bartlomiej Zolnierkiewicz wrote: > Nope, I don't think struct device can be used by sysfs after execution > of device_unregister() (I've checked driver model and sysfs code). Yes, it can. Have the sucker held by open file on sysfs. Keep it open past the device_unregister(). Now close it and watch the struct device being modified. - 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/