]> err.no Git - linux-2.6/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)
commit20613f24bcd1cbfb08e64f0bb00c44481313b448
tree766f9e57841470ea3cfdabb10b844a2b4112f5c7
parent1bcaa0bd6fd5b510dd9f1ba2da114d3f1253af61
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