On Thu, 1 Jan 2004, Oliver Neukum wrote: > As this situations involve devices being added or removed, don't you need > the subsystem rw-semaphore anyway?
No; the subsystem rw-semaphore is used by the driver model core when driver-model struct device's are added or removed. It is not held while usb_disconnect recurses through the tree of struct usb_device's, which is when usbdev->children[] gets used. It's only held during the time that an individual device or interface is unregistered. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel