]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] vt: Decrement ref count of the VT backend on deallocation
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 3 Jul 2006 07:24:20 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 3 Jul 2006 22:26:59 +0000 (15:26 -0700)
commitdefc84d1065f792c84f4a97dd01fb1e4a0bce88b
tree7cbb8762c5c4693b68b10baa42a9d49666bc411e
parentbd8bf0d1de82f179e2fd1f148b881a77f815564c
[PATCH] vt: Decrement ref count of the VT backend on deallocation

When a VT is newly allocated, the module reference count of the backend
will be incremented.  This should be balanced by a module_put() when this
VT is deallocated.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/vt.c