[NETLABEL]: Compilation for CONFIG_AUDIT=n case.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 13 Feb 2008 06:35:37 +0000 (22:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2008 06:35:37 +0000 (22:35 -0800)
commit94de7feb2dee6d0039ecbe98ae8b63bbb63808b6
treec0cac64c593efc2e2dc32a7c666bb4e9c4f69bf6
parent910d6c320cac65c81d66e8fd30dca167092722eb
[NETLABEL]: Compilation for CONFIG_AUDIT=n case.

The audit_log_start() will expand into an empty do { } while (0)
construction and the audit_ctx becomes unused.

The solution: push current->audit_context into audit_log_start()
directly, since it is not required in any other place in the
calling function.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_user.c