summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-08 18:54:49 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-08 18:54:49 +0000
commit5514f4babeeb3af00ee0c325e3cda7a562cc3d65 (patch)
treeedd733879cab73e41324a99ca5da7bc154c4196d /kernel/kmod.c
parent6a9366db547e958e8c9bf8e1c13bcea6cb2bf393 (diff)
Merge with Linux 2.4.0-test6-pre4.
Diffstat (limited to 'kernel/kmod.c')
-rw-r--r--kernel/kmod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 8fc459453..348210c3b 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -112,6 +112,7 @@ int exec_usermodehelper(char *program_path, char *argv[], char *envp[])
struct user_struct *user = current->user;
current->user = INIT_USER;
atomic_inc(&current->user->__count);
+ atomic_dec(&user->processes);
free_uid(user);
}