From: Pavel Emelyanov Date: Wed, 13 Feb 2008 06:35:37 +0000 (-0800) Subject: [NETLABEL]: Compilation for CONFIG_AUDIT=n case. X-Git-Tag: v2.6.25-rc2~2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94de7feb2dee6d0039ecbe98ae8b63bbb63808b6;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed