commit | 0259894c732837c801565d038eaecdcf8fc5bbe7 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Wed Mar 23 10:48:37 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Apr 19 14:43:01 2011 -0700 |
tree | aae559d20f622f024c87f5bab5524ee94e42c91b | |
parent | a9dccddb60913056bcadaeeacfe0395447fd2472 [diff] |
TTY: fix fail path in tty_open When tty_add_file fails we omit to clean up. Fix that by calling tty_release appropriatelly. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>