aio-stress: use calloc for thread_info array
authorJeff Mahoney <jeffm@suse.com>
Mon, 20 Jan 2014 02:28:27 +0000 (13:28 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 20 Jan 2014 02:28:27 +0000 (13:28 +1100)
commit99b3a9ab2a0906363706e26cf3be0780908d299a
tree719e28ffac8f4d34e73ae423fb0b4c158927c8e4
parent5aafebc5fd5ebf4b260215b3e56eb69b98134e28
aio-stress: use calloc for thread_info array

The thread_info array is assumed to be initialized to 0s, but
that causes a segfault when MALLOC_PERTURB_ is set.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
ltp/aio-stress.c