]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: introduce zalloc
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 28 Mar 2011 10:22:26 +0000 (13:22 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 11 Apr 2011 10:22:31 +0000 (13:22 +0300)
commit713ef298e3d2055034c74e2a2e508e0eb1aad817
tree85efefd6e810260f8e9b77229a717e56bc77e990
parent924862c864da0b62cf93ba7abf2dc78a7e6ac48f
fs-tests: integck: introduce zalloc

The integck test often allocates memory and fills it with zeroes.
Introduce a helper function for this frequent operation.

This is just a clean-up patch which makes the code 23 lines shorter.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/fs-tests/integrity/integck.c