bsdacct: make internal code work with passed bsd_acct_struct, not global
commit6248b1b342005a428b1247b4e89249da1528d88d
authorPavel Emelyanov <xemul@openvz.org>
Fri, 25 Jul 2008 08:48:46 +0000 (25 01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:47 +0000 (25 10:53 -0700)
tree307885e0e15dc646e2f63ab1e148ab13ed260e0f
parenta75d97976517dcda69150fd81d6be86ae63324a1
bsdacct: make internal code work with passed bsd_acct_struct, not global

This adds the appropriate pointer to all the internal (i.e.  static)
functions that work with global acct instance.  API calls pass a global
instance to them (while we still have such).

Mostly this is a s/acct_globals./acct->/ over the file.

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