From: Dmitry Kasatkin Date: Thu, 27 Feb 2014 18:16:47 +0000 (+0200) Subject: ima: skip memory allocation for empty files X-Git-Tag: v3.15-rc1~112^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d91ac6213003f525ac34da5e39cbb6612d19deb;p=pandora-kernel.git ima: skip memory allocation for empty files Memory allocation is unnecessary for empty files. This patch calculates the hash without memory allocation. Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed