vt: Decrement ref count of the VT backend on deallocation
Subsystems (2)
PATCH 1/1 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 <[email protected]>
---
drivers/char/vt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/char/vt.c +1 -0
@@ -886,6 +886,7 @@ void vc_disallocate(unsigned int currconif (vc_cons_allocated (currcons)) {struct vc_data *vc = vc_cons[currcons].d; vc->vc_sw->con_deinit (vc); +module_put (vc->vc_sw->owner);if (vc->vc_kmalloced)kfree (vc->vc_screenbuf);if (currcons >=MIN_NR_CONSOLES )
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642