From: Eric Paris Date: Tue, 27 Jan 2009 11:50:37 +0000 (+0000) Subject: tty_open can return to userspace holding tty_mutex X-Git-Tag: v2.6.29-rc3~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=808ffa3d302257b9dc37b1412c1fcdf976fcddac;p=pandora-kernel.git 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 Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed