This is the implementation of [PREP 7/14] for the multilevel model Signed-off-by: Pavel Emelianov <[EMAIL PROTECTED]>
--- base.c | 12 ++++++++++++ 1 files changed, 12 insertions(+) --- ./fs/proc/base.c.multiflush 2007-06-15 15:23:33.000000000 +0400 +++ ./fs/proc/base.c 2007-06-15 15:34:17.000000000 +0400 @@ -2247,6 +2247,18 @@ static inline void proc_flush_task_ns(st proc_flush_task_mnt(tsk, pid->ns->proc_mnt); } #endif + +#ifdef CONFIG_PID_NS_MULTILEVEL +static inline void proc_flush_task_ns(struct task_struct *tsk, struct pid *pid) +{ + struct pid_number *pnr; + + for_each_pid_nr(pnr, pid) + /* init_pid_ns's mnt is global proc_mnt, which is flushed */ + if (pnr->ns != &init_pid_ns) + proc_flush_task_mnt(tsk, pnr->ns->proc_mnt); +} +#endif #endif void proc_flush_task(struct task_struct *task, struct pid *pid) _______________________________________________ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list Devel@openvz.org https://openvz.org/mailman/listinfo/devel