summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-05-04 20:42:36 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-13 12:10:56 -0700
commit77945febbe60a69e9dcab7f49d33a1aa1e436973 (patch)
tree1475c6c8215e831904e78a08d1947ffb5a1516ce /block
parente6114fa1d1d6a588766f28081b971047dd3e5def (diff)
downloadlinux-77945febbe60a69e9dcab7f49d33a1aa1e436973.tar.gz
linux-77945febbe60a69e9dcab7f49d33a1aa1e436973.tar.bz2
linux-77945febbe60a69e9dcab7f49d33a1aa1e436973.zip
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 <alan@linux.intel.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions