aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c
index c74bb34eeeff..15d493fe8aa3 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1591,7 +1591,7 @@ static inline int zap_threads(struct task_struct *tsk, struct mm_struct *mm,
1591 } 1591 }
1592 rcu_read_unlock(); 1592 rcu_read_unlock();
1593done: 1593done:
1594 core_state->nr_threads = nr; 1594 atomic_set(&core_state->nr_threads, nr);
1595 return nr; 1595 return nr;
1596} 1596}
1597 1597