diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-25 10:48:45 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 19:53:47 +0200 |
commit | a75d97976517dcda69150fd81d6be86ae63324a1 (patch) | |
tree | 57639d58edc123dd77413d929e2759cdd9159c23 /fs/lockd | |
parent | bsdacct: make check timer accept a bsd_acct_struct argument (diff) | |
download | linux-a75d97976517dcda69150fd81d6be86ae63324a1.tar.xz linux-a75d97976517dcda69150fd81d6be86ae63324a1.zip |
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 <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>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions