vt: fix vc_resize locking
authorNick Piggin <npiggin@suse.de>
Fri, 6 Jun 2008 05:46:38 +0000 (22:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2008 18:29:12 +0000 (11:29 -0700)
commit81c6ce9bd3ed3a88caeb9ed97d874450d53339dc
tree90e93d92be9aa37fa003c37a3cd5da732d0d4882
parentdfcceb26f89da86ec4ac9583c4515504af8c6c84
vt: fix vc_resize locking

Lockdep says we can't take tasklist lock or sighand lock inside ctrl_lock.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Alan Cox <alan@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vt.c