From: Dan Carpenter Date: Tue, 25 May 2010 09:37:17 +0000 (+0200) Subject: TTY/n_gsm: potential double lock X-Git-Tag: v2.6.35-rc2~16^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328be395a396b1333b56e04571365dc614c96e46;p=pandora-kernel.git TTY/n_gsm: potential double lock In gsm_dlci_data_kick() we call gsm_dlci_data_sweep() with the "gsm->tx_lock" held so we can't lock it again inside gsm_dlci_data_sweep(). I removed that lock from and added one to gsmld_write_wakeup() instead. The sweep function is only called from those two places. Signed-off-by: Dan Carpenter Acked-by: Alan Cox Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed