]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Redo current tty locking
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:40:43 +0000 (10:40 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:41 +0000 (09:51 -0700)
commit011513f13c45625b4004f7d0c85376c3257b7501
treeab4bd754997b097f06a5cfefd9e3671d56e628f4
parent10bcec23f44cd433104ba4937dcbbd0c96b3306a
tty: Redo current tty locking

Currently it is sometimes locked by the tty mutex and sometimes by the
sighand lock. The latter is in fact correct and now we can hand back referenced
objects we can fix this up without problems around sleeping functions.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c
drivers/s390/char/fs3270.c
fs/dquot.c
security/selinux/hooks.c