xfstests: randholes: hide some Irix/Linux differences more tidily
authorAlex Elder <aelder@sgi.com>
Thu, 14 Oct 2010 14:50:19 +0000 (14:50 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 19 Oct 2010 15:05:07 +0000 (10:05 -0500)
commitf0d2c5ec91ec5cd8b1689e90ff922d707d9b6014
treec5014ca9a12886334eb8b868a9b9fa4ca7ae3a5e
parent3bda8549fa645764201201386f0da909e40575a0
xfstests: randholes: hide some Irix/Linux differences more tidily

Define a macro "xfscntl()" that effectively hides the differences
between the Linux xfsctl() and Irix fcntl() kernel interfaces.

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