> + * This also means that the kernel can decrement
> + * the use-counter again before calling release()
after
> + * or should the open() function fail.
> + *
> + * Not all device structures have an "owner" field
> + * yet. "struct file_operations" and "struct net_device"
> + * do, while "struct tty_driver" does not. If the struct
> + * has an "owner" field, then initialize it to the value
> + * THIS_MODULE and the kernel will handle all module
> + * locking for you automatically. Otherwise, you must
> + * increment the use-counter in the open() function
> + * and decrement it again in the release() function
> + * yourself.
And you must do so before you sleep.
Regards
Oliver
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel