From: Pavel Emelyanov Date: Fri, 25 Jul 2008 08:48:47 +0000 (-0700) Subject: bsdacct: switch from global bsd_acct_struct instance to per-pidns one X-Git-Tag: v2.6.27-rc1~257 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b6b030fc30d169bb406b34b4fc60d99dde4a9c6;p=pandora-kernel.git bsdacct: switch from global bsd_acct_struct instance to per-pidns one Allocate the structure on the first call to sys_acct(). After this each namespace, that ordered the accounting, will live with this structure till its own death. Two notes - routines, that close the accounting on fs umount time use the init_pid_ns's acct by now; - accounting routine accounts to dying task's namespace (also by now). Signed-off-by: Pavel Emelyanov Cc: Balbir Singh Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed