]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee8aa657dc9f067830e124389d63f0fea6d58db7
tree19bddd97fa7bfc762a6f2bf3fa88d3df45ba52aa
parentaa5a9c5914e8388825ba015611c98b1e1cf69930
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