[PATCH] i4l: fix refcounting problem with ttyIx devices
authorKarsten Keil <kkeil@suse.de>
Mon, 6 Mar 2006 23:42:39 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 7 Mar 2006 02:40:43 +0000 (18:40 -0800)
commit7cb9478f0d5b2424af974646dcbe10ce7c19b550
treea645f882deef35c0ebe040a9ee0bb8ce7fc6e8c2
parent1e4b27df55166ce3b276f55bab223fa4ae8c5525
[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: Oskar Senft <o.senft@sirrix.com>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/i4l/isdn_tty.c