diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-02-27 11:49:05 -0500 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-02-27 11:49:05 -0500 |
| commit | cccc65a3b60edaf721cdee5a14f68ba009341822 (patch) | |
| tree | a458d28f70cbe0e848596aad6005442a2621d388 /kernel/exit.c | |
| parent | ba70d0614728892b86b2be2f7eae0c696b436461 (diff) | |
| parent | e95a9ec1bb66e07b138861c743192f06e7b3e4de (diff) | |
Merge branch 'master'
Diffstat (limited to 'kernel/exit.c')
| -rw-r--r-- | kernel/exit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 93cee3671332..531aadca5530 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
| @@ -360,6 +360,9 @@ void daemonize(const char *name, ...) | |||
| 360 | fs = init_task.fs; | 360 | fs = init_task.fs; |
| 361 | current->fs = fs; | 361 | current->fs = fs; |
| 362 | atomic_inc(&fs->count); | 362 | atomic_inc(&fs->count); |
| 363 | exit_namespace(current); | ||
| 364 | current->namespace = init_task.namespace; | ||
| 365 | get_namespace(current->namespace); | ||
| 363 | exit_files(current); | 366 | exit_files(current); |
| 364 | current->files = init_task.files; | 367 | current->files = init_task.files; |
| 365 | atomic_inc(¤t->files->count); | 368 | atomic_inc(¤t->files->count); |
