Re: kernel threads and close method in a device driver

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Apr 17 2001 - 16:37:44 EST


> 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/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:24 EST