Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44489
b: refs/heads/master
c: b3f13de
h: refs/heads/master
i:
  44487: 68ba88e
v: v3
  • Loading branch information
Dan Carpenter authored and Linus Torvalds committed Dec 13, 2006
1 parent f992b43 commit cbc6586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: a2db8dfce8d94fecae50128d912fec7980687a51
refs/heads/master: b3f13debd593dbd7242a4ecf6c9b4d529805e5a0
7 changes: 1 addition & 6 deletions trunk/drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -3335,18 +3335,13 @@ static void __do_SAK(struct work_struct *work)
int session;
int i;
struct file *filp;
struct tty_ldisc *disc;
struct fdtable *fdt;

if (!tty)
return;
session = tty->session;

/* We don't want an ldisc switch during this */
disc = tty_ldisc_ref(tty);
if (disc && disc->flush_buffer)
disc->flush_buffer(tty);
tty_ldisc_deref(disc);
tty_ldisc_flush(tty);

if (tty->driver->flush_buffer)
tty->driver->flush_buffer(tty);
Expand Down

0 comments on commit cbc6586

Please sign in to comment.