commit | 5ac7c2fd6e7102532104907c0df94abca826ec5c | [log] [tgz] |
---|---|---|
author | Kyle Spiers <ksspiers@google.com> | Tue Apr 10 17:02:29 2018 -0700 |
committer | Jan Kara <jack@suse.cz> | Wed Apr 11 09:55:40 2018 +0200 |
tree | 541480a00b9870bb5b97328c8abca5897e7aa7c7 | |
parent | 1aa3b3e0cbdb32439f04842e88fc7557a0777660 [diff] |
isofs compress: Remove VLA usage As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the bhs and pages arrays from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing of bhs. https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Kyle Spiers <ksspiers@google.com> Signed-off-by: Jan Kara <jack@suse.cz>