commit | 955787ca94a17bdfd00e369a21ceb97aa21792fc | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Fri Nov 11 10:47:23 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Nov 15 15:52:47 2011 -0800 |
tree | 16bd8e8a7c154be15dcb0c7375c4c8c2c7c019c9 | |
parent | 2cd0050cf3ec4da847c3a2f7d95cffd548aef39d [diff] |
TTY: move debug checking out of tty_release There is no need to taint the tty_release code with paranoia checking. So move it out of line to a separate function. Making thus tty_release more readable. [v2] don't introduce a hard to reproduce use after free (scheduled work would need to preempt the current thread) Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>