diff options
-rw-r--r-- | fs/proc/array.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index 07d6c4853fe8..b07a71002f2f 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c | |||
@@ -425,7 +425,6 @@ static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, | |||
425 | cutime = cstime = utime = stime = cputime_zero; | 425 | cutime = cstime = utime = stime = cputime_zero; |
426 | cgtime = gtime = cputime_zero; | 426 | cgtime = gtime = cputime_zero; |
427 | 427 | ||
428 | rcu_read_lock(); | ||
429 | if (lock_task_sighand(task, &flags)) { | 428 | if (lock_task_sighand(task, &flags)) { |
430 | struct signal_struct *sig = task->signal; | 429 | struct signal_struct *sig = task->signal; |
431 | 430 | ||
@@ -469,7 +468,6 @@ static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, | |||
469 | 468 | ||
470 | unlock_task_sighand(task, &flags); | 469 | unlock_task_sighand(task, &flags); |
471 | } | 470 | } |
472 | rcu_read_unlock(); | ||
473 | 471 | ||
474 | if (!whole || num_threads < 2) | 472 | if (!whole || num_threads < 2) |
475 | wchan = get_wchan(task); | 473 | wchan = get_wchan(task); |