Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253879
b: refs/heads/master
c: 2f9381e
h: refs/heads/master
i:
  253877: f2b90fa
  253875: 9596d0d
  253871: 6672a11
v: v3
  • Loading branch information
Pavel Shved authored and David S. Miller committed Jun 17, 2011
1 parent ee85a16 commit 4d7256d
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: d0fd64c1de437bdf91c32d4f84a53fa4b2150348
refs/heads/master: 2f9381e98471837b631743270de988e78aad1f96
4 changes: 3 additions & 1 deletion trunk/drivers/isdn/gigaset/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,10 @@ static int if_open(struct tty_struct *tty, struct file *filp)
if (!cs || !try_module_get(cs->driver->owner))
return -ENODEV;

if (mutex_lock_interruptible(&cs->mutex))
if (mutex_lock_interruptible(&cs->mutex)) {
module_put(cs->driver->owner);
return -ERESTARTSYS;
}
tty->driver_data = cs;

++cs->open_count;
Expand Down

0 comments on commit 4d7256d

Please sign in to comment.