Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108111
b: refs/heads/master
c: 000b915
h: refs/heads/master
i:
  108109: a6665e0
  108107: 09ae561
  108103: e0e1575
  108095: 0028623
v: v3
  • Loading branch information
Christian Borntraeger authored and Linus Torvalds committed Aug 11, 2008
1 parent 4617311 commit f99cd6c
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0e7d5bb8480e10f98f89bd1d418a430393b1e995
refs/heads/master: 000b9151d7851cc1e490b2a76d0206e524f43cca
2 changes: 1 addition & 1 deletion trunk/drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1161,8 +1161,8 @@ void disassociate_ctty(int on_exit)
tty = get_current_tty();
if (tty) {
tty_pgrp = get_pid(tty->pgrp);
mutex_unlock(&tty_mutex);
lock_kernel();
mutex_unlock(&tty_mutex);
/* XXX: here we race, there is nothing protecting tty */
if (on_exit && tty->driver->type != TTY_DRIVER_TYPE_PTY)
tty_vhangup(tty);
Expand Down

0 comments on commit f99cd6c

Please sign in to comment.