Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130247
b: refs/heads/master
c: 808ffa3
h: refs/heads/master
i:
  130245: a65b832
  130243: 9f6a4f2
  130239: a447147
v: v3
  • Loading branch information
Eric Paris authored and Linus Torvalds committed Jan 27, 2009
1 parent 5bcafb9 commit f081cd2
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: 5ee810072175042775e39bdd3eaaa68884c27805
refs/heads/master: 808ffa3d302257b9dc37b1412c1fcdf976fcddac
4 changes: 3 additions & 1 deletion trunk/drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1817,8 +1817,10 @@ static int __tty_open(struct inode *inode, struct file *filp)
/* check whether we're reopening an existing tty */
tty = tty_driver_lookup_tty(driver, inode, index);

if (IS_ERR(tty))
if (IS_ERR(tty)) {
mutex_unlock(&tty_mutex);
return PTR_ERR(tty);
}
}

if (tty) {
Expand Down

0 comments on commit f081cd2

Please sign in to comment.