Commit 7cb9478f authored by Karsten Keil's avatar Karsten Keil Committed by Linus Torvalds

[PATCH] i4l: fix refcounting problem with ttyIx devices

If the same ttyIx device was opened by two processes the module was not
released and so the usage count went never to zero again.  This oneliner fixes
the issue.
Signed-off-by: default avatarOskar Senft <>
Signed-off-by: default avatarKarsten Keil <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1e4b27df
......@@ -1682,6 +1682,7 @@ isdn_tty_close(struct tty_struct *tty, struct file *filp)
printk(KERN_DEBUG "isdn_tty_close after info->count != 0\n");
info->flags |= ISDN_ASYNC_CLOSING;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment