Re: [PATCH] Fix ide unregister vs. driver model

From: viro
Date: Mon Aug 25 2003 - 15:58:11 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/