xfstests: randholes: encapsulate direct I/O setup code
authorAlex Elder <aelder@sgi.com>
Thu, 14 Oct 2010 14:50:27 +0000 (14:50 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 19 Oct 2010 15:05:11 +0000 (10:05 -0500)
commitcccbdd0d08660fbf099009c2f10b2a9089017cc0
tree666304c5cedf75123c5ecd230a6f6da98c8e949c
parentf0d2c5ec91ec5cd8b1689e90ff922d707d9b6014
xfstests: randholes: encapsulate direct I/O setup code

Pull the code used to get alignment information for direct I/O into
a separate function.

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