From: Alan Cox Date: Tue, 4 May 2010 19:42:36 +0000 (+0100) Subject: tty: Fix unbalanced BKL handling in error path X-Git-Tag: v2.6.34~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77945febbe60a69e9dcab7f49d33a1aa1e436973;p=pandora-kernel.git tty: Fix unbalanced BKL handling in error path Arnd noted: After the "retry_open:" label, we first get the tty_mutex and then the BKL. However a the end of tty_open, we jump back to retry_open with the BKL still held. If we run into this case, the tty_open function will be left with the BKL still held. Signed-off-by: Alan Cox Acked-by: Arnd Bergmann Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed