xfstests: randholes: use posix_memalign()
authorAlex Elder <aelder@sgi.com>
Thu, 14 Oct 2010 14:50:36 +0000 (14:50 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 19 Oct 2010 15:05:17 +0000 (10:05 -0500)
commit4099869db4cbe46db315764576eb6bf6dc7826ba
treea6345e0b9a1728e5865156ce2710eaf5031fa46a
parentcccbdd0d08660fbf099009c2f10b2a9089017cc0
xfstests: randholes: use posix_memalign()

Use posix_memalign() rather than memalign() regardless of whether
direct I/O is to be used.  Don't store the dioattr data in a global
variable.

Signed-off-by: Alex Elder <aelder@sgi.com>
Acked-by: Dave Chinner <david@fromorbit.com>
src/randholes.c