]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7aed0ce74c9632002ffabdad6c01a17d93e78406
treea645f882deef35c0ebe040a9ee0bb8ce7fc6e8c2
parentc8159f6c3eaca6ff915859d176a6efe7a12e10a3
[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