Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45990
b: refs/heads/master
c: 0f24528
h: refs/heads/master
v: v3
  • Loading branch information
Serge E. Hallyn authored and Linus Torvalds committed Jan 30, 2007
1 parent 3ef72f4 commit 8dd8b8d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: 444f378b237a0f728f5c4aba752c08d13c209344
refs/heads/master: 0f2452855d86901ba3766826ccb5606ea4e15ab9
2 changes: 1 addition & 1 deletion trunk/include/linux/pid_namespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static inline void put_pid_ns(struct pid_namespace *ns)

static inline struct task_struct *child_reaper(struct task_struct *tsk)
{
return tsk->nsproxy->pid_ns->child_reaper;
return init_pid_ns.child_reaper;
}

#endif /* _LINUX_PID_NS_H */
2 changes: 1 addition & 1 deletion trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,8 @@ fastcall NORET_TYPE void do_exit(long code)

tsk->exit_code = code;
proc_exit_connector(tsk);
exit_notify(tsk);
exit_task_namespaces(tsk);
exit_notify(tsk);
#ifdef CONFIG_NUMA
mpol_free(tsk->mempolicy);
tsk->mempolicy = NULL;
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fastcall void free_pid(struct pid *pid)
hlist_del_rcu(&pid->pid_chain);
spin_unlock_irqrestore(&pidmap_lock, flags);

free_pidmap(current->nsproxy->pid_ns, pid->nr);
free_pidmap(&init_pid_ns, pid->nr);
call_rcu(&pid->rcu, delayed_put_pid);
}

Expand Down

0 comments on commit 8dd8b8d

Please sign in to comment.