diff --git a/kernel/fork.c b/kernel/fork.c index 7e1ead9a6ba453bbfafab739df3690e69684e769..dfeadf466f185b9eb1192a94044d710adaa991e0 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -176,6 +176,7 @@ static struct task_struct *dup_task_struct(struct task_struct *orig) /* One for us, one for whoever does the "release_task()" (usually parent) */ atomic_set(&tsk->usage,2); + atomic_set(&tsk->fs_excl, 0); return tsk; }