diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-11-11 10:47:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-15 15:52:47 -0800 |
commit | 955787ca94a17bdfd00e369a21ceb97aa21792fc (patch) | |
tree | 16bd8e8a7c154be15dcb0c7375c4c8c2c7c019c9 /kernel/rtmutex-debug.c | |
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>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions