[PATCH] tiny race with devfs in printer
authorOliver Neukum <oliver@neukum.name>
Thu, 2 May 2002 07:31:51 +0000 (00:31 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 2 May 2002 07:31:51 +0000 (00:31 -0700)
commit92a234c2f9668868a5c68e47c998c4d7ea37bbc4
tree100ef50f7c7341c6d3bdb30ad14bb2f35f617777
parent4bc91a026a29f3add3ff9cf3c1a683f0664f50a6
[PATCH] tiny race with devfs in printer

USB printer bugfix

looking through printer.c in preparation for shifting devfs
support to usbcore I noticed that printer advertises a device
through devfs before it can be opened.
As devfs, or more precisely devfsd can be used to trigger actions
this matters and is wrong.
drivers/usb/class/printer.c