]> git.baikalelectronics.ru Git - kernel.git/commit
usbcore: cdev lock_kernel() pushdown
authorJonathan Corbet <corbet@lwn.net>
Thu, 15 May 2008 22:24:25 +0000 (16:24 -0600)
committerJonathan Corbet <corbet@lwn.net>
Fri, 20 Jun 2008 20:05:49 +0000 (14:05 -0600)
commitc8e287dcf242c140992c99ab35e78f3f749cc93f
tree766f9e57841470ea3cfdabb10b844a2b4112f5c7
parentd6e8aeffc196b654a82c0eb17a45dd8570d19071
usbcore: cdev lock_kernel() pushdown

usb_open() is protected by a down_read(&minor_rwsem), but I'm not sure I
trust it to protect everything including subsidiary open() functions.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
drivers/usb/core/file.c