> Actually, it looks like open() will only be called once, and then > release() will only be called once. So everything is ok with the driver > right now :)
The code path for open looks like: sys_open -> filp_open -> dentry_open -> (f_op->open) The code path for close looks like: sys_close -> filp_close -> fput -> (f_op->release) conditionally ! I may be dense, but it looks possible to have an imbalance. Even if it makes no sense to open twice, it must not be allowed to result in an ununloadable driver. Regards Oliver _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel