]> err.no Git - linux-2.6/blobdiff - kernel/pid_namespace.c
bnx2x: FW Internal Memory structure
[linux-2.6] / kernel / pid_namespace.c
index 06331cc1c3f5fab4147455ebd8cf7b29e82bcc42..ea567b78d1aa6111bf207ac0556ff1e35b088794 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/pid_namespace.h>
 #include <linux/syscalls.h>
 #include <linux/err.h>
+#include <linux/acct.h>
 
 #define BITS_PER_PAGE          (PAGE_SIZE*8)
 
@@ -181,6 +182,7 @@ void zap_pid_ns_processes(struct pid_namespace *pid_ns)
 
        /* Child reaper for the pid namespace is going away */
        pid_ns->child_reaper = NULL;
+       acct_exit_ns(pid_ns);
        return;
 }