mirror of
https://github.com/RustyRaptor/riscv-linux.git
synced 2026-12-04 00:45:28 -07:00
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>