From: Pavel Emelyanov Date: Fri, 25 Jul 2008 08:48:45 +0000 (-0700) Subject: bsdacct: turn the acct_lock from on-the-struct to global X-Git-Tag: v2.6.27-rc1~259 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a75d97976517dcda69150fd81d6be86ae63324a1;p=pandora-kernel.git bsdacct: turn the acct_lock from on-the-struct to global Don't use per-bsd-acct-struct lock, but work with a global one. This lock is taken for short periods, so it doesn't seem it'll become a bottleneck, but it will allow us to easily avoid many locking difficulties in the future. So this is a mostly s/acct_globals.lock/acct_lock/ over the file. 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