[PATCH] xfstests: use native definition of O_DIRECT flag

Rich Johnston rjohnston at sgi.com
Tue Mar 5 14:09:22 CST 2013


This patch has been committed.

Thanks
--Rich

commit 5825ecd3b99ed8c177895d5e6a830133fed384ea
Author: Eric Whitney <enwlinux at gmail.com>
Date:   Tue Feb 26 21:03:22 2013 +0000

     xfstests: use native definition of O_DIRECT flag

     The definition of O_DIRECT in src/trunc.c causes xfstest 125 to fail
     when run on a Pandaboard.  On ARM, the value used (0x040000) is
     O_DIRECTORY rather than O_DIRECT as it is on x86.  Prefer the 
platform's
     native definition of O_DIRECT supplied by fcntl.h if available.  Also,
     fix a couple of error messages to properly reflect their context.

     Signed-off-by: Eric Whitney <enwlinux at gmail.com>
     Reviewed-by: Dave Chinner <dchinner at redhat.com>
     Signed-off-by: Rich Johnston <rjohnston at sgi.com>



More information about the xfs mailing list