If usb_release_interface() doesn't use device_release_driver(),
it's not the fault of this ioctl ...


Judging by the comments it cannot be called directly.

It doesn't need much wrapping. Normal calls during disconnect() or probe() are ok. But usbfs binds/unbinds at other times too, so it's got to explicitly grab the bus rwsem ... BKL has been the wrong lock for a while now.

See the patches I posted.

- Dave







-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to