From: David Howells Date: Tue, 16 Sep 2014 16:36:06 +0000 (+0100) Subject: KEYS: Remove key_type::match in favour of overriding default by match_preparse X-Git-Tag: fixes-against-v3.18-rc2~106^2~10^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c06cfb08b88dfbe13be44a69ae2fdc3a7c902d81;p=pandora-kernel.git KEYS: Remove key_type::match in favour of overriding default by match_preparse A previous patch added a ->match_preparse() method to the key type. This is allowed to override the function called by the iteration algorithm. Therefore, we can just set a default that simply checks for an exact match of the key description with the original criterion data and allow match_preparse to override it as needed. The key_type::match op is then redundant and can be removed, as can the user_match() function. Signed-off-by: David Howells Acked-by: Vivek Goyal --- Reading git-diff-tree failed