From: Alan Cox Date: Thu, 3 May 2012 21:21:53 +0000 (+0100) Subject: tty_lock: undo the old tty_lock use on the ctty X-Git-Tag: v3.5-rc1~146^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af502b96649ccb7462da73b0cca446c8384b155;p=pandora-kernel.git tty_lock: undo the old tty_lock use on the ctty get_current_tty has its own consistent locking. That means a pile of the tty lock cases are not needed. As get_current_tty also keeps a reference the tty object lifetime means we can propogate the lock removal out. Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed