Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75467
b: refs/heads/master
c: a98fdce
h: refs/heads/master
i:
  75465: 2b53fe3
  75463: 7c87377
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jan 14, 2008
1 parent 88d0e2c commit 53fdd8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4fd3670eb1d3c33e8952cf1e79edbb2d517dcfb5
refs/heads/master: a98fdcef941e107eeabae622d85a1f476f25a160
2 changes: 1 addition & 1 deletion trunk/fs/proc/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ static int do_task_stat(struct task_struct *task, char *buffer, int whole)
cgtime = gtime = cputime_zero;

rcu_read_lock();
ppid = task_tgid_nr_ns(task->real_parent, ns);
if (lock_task_sighand(task, &flags)) {
struct signal_struct *sig = task->signal;

Expand Down Expand Up @@ -465,6 +464,7 @@ static int do_task_stat(struct task_struct *task, char *buffer, int whole)
}

sid = task_session_nr_ns(task, ns);
ppid = task_tgid_nr_ns(task->real_parent, ns);
pgid = task_pgrp_nr_ns(task, ns);

unlock_task_sighand(task, &flags);
Expand Down

0 comments on commit 53fdd8d

Please sign in to comment.