]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
get rid of the second argument of acct_kill()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 10 Jan 2015 22:18:37 +0000 (17:18 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Jan 2015 04:17:27 +0000 (23:17 -0500)
commit3b994d98a815d934ab6a77a380882865982c14f9
treec837ebe22ac4427a23ba87ee019e1ed2832bb99a
parent34cece2e8a1d2b66f00e153a19b80b4d4cec4eb8
get rid of the second argument of acct_kill()

Replace the old ns->bacct only with NULL and only if it still points
to acct.  And assign the new value to it *before* calling acct_kill()
in acct_on().  That way we don't need to pass the new acct to acct_kill().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/acct.c