summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-08 12:37:17 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-08 12:37:17 +0000
commit9aa9eb41942b918f385ccabd2efdd6e7e4232165 (patch)
tree20bec7da036d31ec185dfc1dcc00753c7ac9b170 /kernel/exit.c
parent87075e049581f880f01eb0b41aa6ac807b299e35 (diff)
Merge with Linux 2.4.0-test6-pre1.
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 89dcd1a3b..993ba31f3 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -38,7 +38,8 @@ void release(struct task_struct * p)
spin_unlock_irq(&runqueue_lock);
} while (has_cpu);
#endif
- free_uid(p);
+ atomic_dec(&p->user->processes);
+ free_uid(p->user);
unhash_process(p);
release_thread(p);