[PATCH] xfstests: fsx: fix fallocate logging

Dave Chinner david at fromorbit.com
Tue Aug 9 05:06:58 CDT 2011


On Mon, Aug 08, 2011 at 11:55:14AM -0400, Josef Bacik wrote:
> I've been getting segfaults on fsx tests with btrfs because we're using the
> wrong values for the logging with fallocate.  We were using the numbers 1,2 and
> 3 to indicate the type of preallocate we were doing, however we use these to
> point to an array, so obviously array[3] for a 3 element array is wrong, so fix
> these to do 0,1, and 2.  Also spit out of we're using KEEP_SIZE in the log to
> make it easier to figure out what's going on.  Thanks,
> 
> Signed-off-by: Josef Bacik <josef at redhat.com>

Already fixed.

http://git.kernel.org/?p=fs/xfs/xfstests-dev.git;a=commit;h=77c06202484237e26774efbd1774c251b6bef0a9

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list