diff options
Diffstat (limited to 'drivers/char/synclink.c')
-rw-r--r-- | drivers/char/synclink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c index ac9f21e18c3f..0ded4ed3da3c 100644 --- a/drivers/char/synclink.c +++ b/drivers/char/synclink.c | |||
@@ -3401,6 +3401,7 @@ static int block_til_ready(struct tty_struct *tty, struct file * filp, | |||
3401 | set_current_state(TASK_RUNNING); | 3401 | set_current_state(TASK_RUNNING); |
3402 | remove_wait_queue(&port->open_wait, &wait); | 3402 | remove_wait_queue(&port->open_wait, &wait); |
3403 | 3403 | ||
3404 | /* FIXME: Racy on hangup during close wait */ | ||
3404 | if (extra_count) | 3405 | if (extra_count) |
3405 | port->count++; | 3406 | port->count++; |
3406 | port->blocked_open--; | 3407 | port->blocked_open--; |