summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDmitry Kasatkin <d.kasatkin@samsung.com>2014-02-27 20:16:47 +0200
committerMimi Zohar <zohar@linux.vnet.ibm.com>2014-03-07 12:15:48 -0500
commit1d91ac6213003f525ac34da5e39cbb6612d19deb (patch)
tree8182a8b6df13e506b1888fce3395b75a9aa1f23b /block
parente0420039b643a832231028000a5c0d7358b14f3b (diff)
downloadop-kernel-dev-1d91ac6213003f525ac34da5e39cbb6612d19deb.zip
op-kernel-dev-1d91ac6213003f525ac34da5e39cbb6612d19deb.tar.gz
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 <d.kasatkin@samsung.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud