Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175860
b: refs/heads/master
c: 6698e34
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Dec 12, 2009
1 parent c1d3cfd commit 0ba45fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 09cea96caa59fabab3030c53bd698b9b568d959a
refs/heads/master: 6698e34720660e18b45e2e3b115ee4584d0c3b5e
2 changes: 0 additions & 2 deletions trunk/drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ static void do_tty_hangup(struct work_struct *work)
/* inuse_filps is protected by the single kernel lock */
lock_kernel();
check_tty_count(tty, "do_tty_hangup");
unlock_kernel();

file_list_lock();
/* This breaks for file handles being sent over AF_UNIX sockets ? */
Expand All @@ -531,7 +530,6 @@ static void do_tty_hangup(struct work_struct *work)
}
file_list_unlock();

lock_kernel();
tty_ldisc_hangup(tty);

read_lock(&tasklist_lock);
Expand Down

0 comments on commit 0ba45fb

Please sign in to comment.