ChangeSet 1.1123.18.4, 2003/08/11 15:12:13-07:00, oliver@neukum.org [PATCH] USB: correct error handling in usb_driver_claim_interface() - comment - update commentary drivers/usb/core/usb.c | 1 + 1 files changed, 1 insertion(+) diff -Nru a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c --- a/drivers/usb/core/usb.c Fri Aug 15 10:48:12 2003 +++ b/drivers/usb/core/usb.c Fri Aug 15 10:48:12 2003 @@ -268,6 +268,7 @@ if (!iface || !driver) return -EINVAL; + /* this is mainly to lock against usbfs */ lock_kernel(); if (iface->driver) { unlock_kernel();