On Sat, 2004-01-17 at 01:51, Greg KH wrote:
> Hm, the patch doesn't apply. Care to resend it without the tabs
> stripped?
>
> thanks,
>
> greg k-h
No problem... hope that's better.
Axel.
--- linux-2.6.0/drivers/usb/usb-skeleton.c 2004-01-18 19:23:46.000000000 +0100
+++ linux-2.6.0-fixed/drivers/usb/usb-skeleton.c 2004-01-18 19:27:59.000000000 +0100
@@ -297,7 +297,7 @@
--dev->open;
- if (!dev->present) {
+ if (!dev->present && !dev->open) {
/* the device was unplugged before the file was released */
up (&dev->sem);
skel_delete (dev);