Eric Paris 808ffa3d30 tty_open can return to userspace holding tty_mutex
__tty_open could return (to userspace) holding the tty_mutex thanks to a
regression introduced by 4a2b5fddd53b80efcb3266ee36e23b8de28e761a ("Move
tty lookup/reopen to caller").

This was found by bisecting an fsfuzzer problem.  Admittedly I have no
idea how it managed to tickle this 100% reliably, but it is clearly a
regression and when hit leaves the box in a completely unusable state.
This patch lets the fsfuzzer test complete every time.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-27 07:37:15 -08:00
..
2009-01-02 10:19:42 -08:00
2009-01-02 10:19:38 -08:00
2009-01-09 03:39:43 -05:00
2008-12-13 11:25:49 -08:00
2008-12-13 09:12:07 +00:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:28:32 -08:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-12 16:37:00 -08:00
2009-01-02 10:19:40 -08:00
2009-01-08 16:44:03 -07:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-15 16:39:37 -08:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2008-12-09 20:32:06 +11:00
2009-01-02 10:19:38 -08:00
2009-01-02 10:19:40 -08:00
2009-01-08 08:31:15 -08:00