]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2d95ccbc51dc90ac95731211c7b5425f7cf829f5
treec0cac64c593efc2e2dc32a7c666bb4e9c4f69bf6
parent74634e78aaf86bfcaf3d5270be82e09f138bed11
[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