Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267355
b: refs/heads/master
c: 1177c0e
h: refs/heads/master
i:
  267353: 25de575
  267351: 4092c01
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Oct 18, 2011
1 parent faccf9c commit b577265
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: fa90e1c935472281de314e6d7c9a37db9cbc2e4e
refs/heads/master: 1177c0efc04d032644895b8d757f55b433912596
10 changes: 5 additions & 5 deletions trunk/drivers/tty/pty.c
Original file line number Diff line number Diff line change
Expand Up @@ -686,15 +686,15 @@ static int ptmx_open(struct inode *inode, struct file *filp)

retval = devpts_pty_new(inode, tty->link);
if (retval)
goto out1;
goto err_release;

retval = ptm_driver->ops->open(tty, filp);
if (retval)
goto out2;
out1:
goto err_release;

tty_unlock();
return retval;
out2:
return 0;
err_release:
tty_unlock();
tty_release(inode, filp);
return retval;
Expand Down

0 comments on commit b577265

Please sign in to comment.