This is the implementation of [PREP 7/14] for the flat model

Signed-off-by: Pavel Emelianov <[EMAIL PROTECTED]>

---

 base.c |    7 +++++++
 1 files changed, 7 insertions(+)

--- ./fs/proc/base.c.flatflush  2007-06-15 15:04:18.000000000 +0400
+++ ./fs/proc/base.c    2007-06-15 15:23:33.000000000 +0400
@@ -2240,6 +2240,13 @@ static inline void proc_flush_task_ns(st
 {
 }
 #else
+#ifdef CONFIG_PID_NS_FLAT
+static inline void proc_flush_task_ns(struct task_struct *tsk, struct pid *pid)
+{
+       if (pid->ns != &init_pid_ns)
+               proc_flush_task_mnt(tsk, pid->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
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to