Hi, I was looking for uses of the BKL in locking.
In devio.c::claimuntf it seems to be used to guard against a race with khubd. IMHO it fails to do so as usb_find_interface_driver calls probe which may sleep and thus drop the lock. Comments? I propose deleting the testing function and make claimintf return an error value. Thus locking could be encapsulated. Regards Oliver ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel