From: David Howells Date: Tue, 16 Sep 2014 16:36:02 +0000 (+0100) Subject: KEYS: Preparse match data X-Git-Tag: fixes-against-v3.18-rc2~106^2~10^2~1^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=462919591a1791e76042dc5c1e0148715df59beb;p=pandora-kernel.git KEYS: Preparse match data Preparse the match data. This provides several advantages: (1) The preparser can reject invalid criteria up front. (2) The preparser can convert the criteria to binary data if necessary (the asymmetric key type really wants to do binary comparison of the key IDs). (3) The preparser can set the type of search to be performed. This means that it's not then a one-off setting in the key type. (4) The preparser can set an appropriate comparator function. Signed-off-by: David Howells Acked-by: Vivek Goyal --- Reading git-diff-tree failed