Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325770
b: refs/heads/master
c: 05fb79e
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Sep 21, 2012
1 parent fc02998 commit 96f2c36
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 43eca0aef73cc6f0d37ad139f1cbb810e62e409d
refs/heads/master: 05fb79e45ee28b97a7cb74bd5ea3a88a8d13db1c
2 changes: 1 addition & 1 deletion trunk/drivers/tty/pty.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ static int ptmx_open(struct inode *inode, struct file *filp)
index = devpts_new_index(inode);
if (index < 0) {
retval = index;
mutex_unlock(&devpts_mutex);
goto err_file;
}

Expand Down Expand Up @@ -667,7 +668,6 @@ static int ptmx_open(struct inode *inode, struct file *filp)
mutex_unlock(&tty_mutex);
devpts_kill_index(inode, index);
err_file:
mutex_unlock(&devpts_mutex);
tty_free_file(filp);
return retval;
}
Expand Down

0 comments on commit 96f2c36

Please sign in to comment.