Messages in this thread | | | Date | Mon, 6 Oct 2003 16:46:05 +0100 | From | viro@parcelfa ... | Subject | Re: [PATCH] s390 (2/7): common i/o layer. |
| |
On Mon, Oct 06, 2003 at 05:37:04PM +0200, Martin Schwidefsky wrote: > > > You can still have a reference to the object when the module is unloaded. > > > > unregistered != last reference is gone > > Hmpf, I think I see the problem now. We'd need to wait in the module > exit function until the release function for the root device has been > called. Can't say I like it but it's probably the easiest way out.
That's a trivial deadlock. You _can't_ do that sysfs. Static kobject in a module is a bug. Period. - 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/
| |