From: Dmitry Kasatkin Date: Fri, 3 Oct 2014 11:40:19 +0000 (+0300) Subject: ima: no need to allocate entry for comment X-Git-Tag: omap-for-v3.20/drop-legacy-3517~80^2~2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=272a6e90ffee1dea39efd6fdf9592edc83a0738e;p=pandora-kernel.git ima: no need to allocate entry for comment If a rule is a comment, there is no need to allocate an entry. Move the checking for comments before allocating the entry. Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed