Re: kernel threads and close method in a device driver

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 17 Apr 2001 22:37:44 +0100 (BST)


> What can cause a close not to get invoked? BTW, the close is returning
> with a 0 status to the application ...(it definitely did NOT
> get invoked in the driver)

The driver release function is invoked when the use count of the handle hits
zero. Make sure you are not muddling release and flush ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/