Messages in this thread | | | From | Bartlomiej Zolnierkiewicz <> | Subject | Re: [PATCH] Fix ide unregister vs. driver model | Date | Mon, 25 Aug 2003 00:23:39 +0200 |
| |
On Sunday 24 of August 2003 15:05, Benjamin Herrenschmidt wrote: > Hi Bart !
Hi,
> This patch seem to have been lost, so here it is again. It fixes > an Ooops on unregistering hwifs due to the device model now having > mandatory release() functions. It also close the possible race we > had on release if the entry was in use (by or /sys typically) by > using a semaphore waiting for the release() to be called after > doing an unregister.
I can't see the race - all references to struct device should be dropped by driver model before finally calling ->release() function...
<...>
--bartlomiej
- 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/
| |