From: Linus Torvalds Date: Mon, 2 Apr 2012 22:48:12 +0000 (-0700) Subject: lsm_audit: don't specify the audit pre/post callbacks in 'struct common_audit_data' X-Git-Tag: v3.4-rc2~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b61c37f57988567c84359645f8202a7c84bc798a;p=pandora-kernel.git lsm_audit: don't specify the audit pre/post callbacks in 'struct common_audit_data' It just bloats the audit data structure for no good reason, since the only time those fields are filled are just before calling the common_lsm_audit() function, which is also the only user of those fields. So just make them be the arguments to common_lsm_audit(), rather than bloating that structure that is passed around everywhere, and is initialized in hot paths. Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed