bsdacct: turn acct off for all pidns-s on umount time
authorPavel Emelyanov <xemul@openvz.org>
Fri, 25 Jul 2008 08:48:47 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:47 +0000 (10:53 -0700)
commitb5a7174875ea570cc675f2c503e800db8efdd6a7
tree19bddd97fa7bfc762a6f2bf3fa88d3df45ba52aa
parent0b6b030fc30d169bb406b34b4fc60d99dde4a9c6
bsdacct: turn acct off for all pidns-s on umount time

All the bsd_acct_strcts with opened accounting are linked into a global
list.  So, the acct_auto_close(_mnt) walks one and drops the accounting
for each.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/acct.c