diff options
| author | <jgarzik@pretzel.yyz.us> | 2005-06-04 00:40:40 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-04 00:40:40 -0400 |
| commit | ae20ea8525a80a863f70d332cf47b71bd9f54c1f (patch) | |
| tree | 9d3cedeb65db521a8436b545bd91641549a18d24 /drivers/s390/net/ctctty.c | |
| parent | f497ba735fc9ff4e35a19641143708b3be1c7061 (diff) | |
| parent | 8be3de3fd8469154a2b3e18a4712032dac5b4a53 (diff) | |
Automatic merge of /spare/repo/linux-2.6/.git branch HEAD
Diffstat (limited to 'drivers/s390/net/ctctty.c')
| -rw-r--r-- | drivers/s390/net/ctctty.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/s390/net/ctctty.c b/drivers/s390/net/ctctty.c index 9257d60c7833..3080393e823d 100644 --- a/drivers/s390/net/ctctty.c +++ b/drivers/s390/net/ctctty.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * $Id: ctctty.c,v 1.26 2004/08/04 11:06:55 mschwide Exp $ | 2 | * $Id: ctctty.c,v 1.29 2005/04/05 08:50:44 mschwide Exp $ |
| 3 | * | 3 | * |
| 4 | * CTC / ESCON network driver, tty interface. | 4 | * CTC / ESCON network driver, tty interface. |
| 5 | * | 5 | * |
| @@ -1056,8 +1056,7 @@ ctc_tty_close(struct tty_struct *tty, struct file *filp) | |||
| 1056 | info->tty = 0; | 1056 | info->tty = 0; |
| 1057 | tty->closing = 0; | 1057 | tty->closing = 0; |
| 1058 | if (info->blocked_open) { | 1058 | if (info->blocked_open) { |
| 1059 | set_current_state(TASK_INTERRUPTIBLE); | 1059 | msleep_interruptible(500); |
| 1060 | schedule_timeout(HZ/2); | ||
| 1061 | wake_up_interruptible(&info->open_wait); | 1060 | wake_up_interruptible(&info->open_wait); |
| 1062 | } | 1061 | } |
| 1063 | info->flags &= ~(CTC_ASYNC_NORMAL_ACTIVE | CTC_ASYNC_CLOSING); | 1062 | info->flags &= ~(CTC_ASYNC_NORMAL_ACTIVE | CTC_ASYNC_CLOSING); |
