From: Jiri Slaby Date: Mon, 4 Jun 2012 11:35:20 +0000 (+0200) Subject: TTY: ircomm, revamp locking X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~198 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e673927d8a210ab1db27047080fc1bdb47f7e372;p=pandora-kernel.git TTY: ircomm, revamp locking Use self->spinlock only for ctrl_skb and tx_skb. TTY stuff is now protected by tty_port->lock. This is needed for further cleanup (and conversion to tty_port helpers). This also closes the race in the end of close. Signed-off-by: Jiri Slaby Cc: Samuel Ortiz Cc: netdev@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed