aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 7e1ead9a6ba4..dfeadf466f18 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -176,6 +176,7 @@ static struct task_struct *dup_task_struct(struct task_struct *orig)
176 176
177 /* One for us, one for whoever does the "release_task()" (usually parent) */ 177 /* One for us, one for whoever does the "release_task()" (usually parent) */
178 atomic_set(&tsk->usage,2); 178 atomic_set(&tsk->usage,2);
179 atomic_set(&tsk->fs_excl, 0);
179 return tsk; 180 return tsk;
180} 181}
181 182