Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222826
b: refs/heads/master
c: e2efafb
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Nov 29, 2010
1 parent e633c27 commit 2dba738
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a20bd45fda271bd57e3ba41b3de3009797f4b5e
refs/heads/master: e2efafbf139d2bfdfe96f2901f03189fecd172e4
3 changes: 2 additions & 1 deletion trunk/drivers/tty/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,8 @@ static int tty_reopen(struct tty_struct *tty)
{
struct tty_driver *driver = tty->driver;

if (test_bit(TTY_CLOSING, &tty->flags))
if (test_bit(TTY_CLOSING, &tty->flags) ||
test_bit(TTY_LDISC_CHANGING, &tty->flags))
return -EIO;

if (driver->type == TTY_DRIVER_TYPE_PTY &&
Expand Down

0 comments on commit 2dba738

Please sign in to comment.