Commit 7be88b4c authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman

tty: Document required behavior of tty driver close()

If the tty driver open() fails, the tty driver close() is still
called during the resultant tty release.
Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 69939035
......@@ -40,6 +40,7 @@
* void (*close)(struct tty_struct * tty, struct file * filp);
*
* This routine is called when a particular tty device is closed.
* Note: called even if the corresponding open() failed.
*
* Required method.
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment