projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] vt: Make vt_pid a struct pid (making it pid wrap around safe).
[powerpc.git]
/
drivers
/
char
/
vt.c
diff --git
a/drivers/char/vt.c
b/drivers/char/vt.c
index
fb75da9
..
303956d
100644
(file)
--- a/
drivers/char/vt.c
+++ b/
drivers/char/vt.c
@@
-903,6
+903,7
@@
void vc_deallocate(unsigned int currcons)
if (vc_cons_allocated(currcons)) {
struct vc_data *vc = vc_cons[currcons].d;
vc->vc_sw->con_deinit(vc);
+ put_pid(vc->vt_pid);
module_put(vc->vc_sw->owner);
if (vc->vc_kmalloced)
kfree(vc->vc_screenbuf);