Char: vt_ioctl, fix BKL imbalance
authorJiri Slaby <jirislaby@gmail.com>
Thu, 1 Oct 2009 22:43:59 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:12 +0000 (16:11 -0700)
commita09efb07b5025fb75f42e903d31767a3cafede89
treef0da535853722a7e4203bcd7ae5634c73c9660c6
parenta28b3dc90964ed961b6ed2c320885ab8b3a0a8ff
Char: vt_ioctl, fix BKL imbalance

Stanse found (again) a BKL imbalance in vt_ioctl.

It's easily triggerable by ioctl(dev_tty_fd, VT_SETACTIVATE, NULL);

Introduced by

commit d3b5cffcf84a8bdc7073dce4745d67c72629af85                                 Author: Alan Cox <alan@linux.intel.com>
Date:   Sat Sep 19 13:13:26 2009 -0700

    vt: add an activate and lock

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vt_ioctl.c