Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27189
b: refs/heads/master
c: 289a1e9
h: refs/heads/master
i:
  27187: 44b4848
v: v3
  • Loading branch information
Paul Mackerras authored and Linus Torvalds committed Jun 12, 2006
1 parent 932442d commit a0e1947
Show file tree
Hide file tree
Showing 2 changed files with 4 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: dc4967e756021f318d125c9f4fa98b958ae9f2de
refs/heads/master: 289a1e995e74734b5ec76ca8a5490058f4fecc24
4 changes: 3 additions & 1 deletion trunk/drivers/char/n_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -1384,8 +1384,10 @@ static ssize_t read_chan(struct tty_struct *tty, struct file *file,
* longer than TTY_THRESHOLD_UNTHROTTLE in canonical mode,
* we won't get any more characters.
*/
if (n_tty_chars_in_buffer(tty) <= TTY_THRESHOLD_UNTHROTTLE)
if (n_tty_chars_in_buffer(tty) <= TTY_THRESHOLD_UNTHROTTLE) {
n_tty_set_room(tty);
check_unthrottle(tty);
}

if (b - buf >= minimum)
break;
Expand Down

0 comments on commit a0e1947

Please sign in to comment.