xfstests: fix brain-o in fallocate log dump
authorDave Chinner <dchinner@redhat.com>
Thu, 14 Jul 2011 05:27:16 +0000 (15:27 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 14 Jul 2011 05:27:16 +0000 (15:27 +1000)
commit77c06202484237e26774efbd1774c251b6bef0a9
tree838917fab729e9dc2b2a338c49dfc69ae02aca34
parent5843147ef12b7f65d5c86c69b53534218c9460c8
xfstests: fix brain-o in fallocate log dump

fsx segvs when dumping fallocate log entries. Fix magic string
array index parameters to be zero based rather than one based.

While touching log string related stuff, make the format consistent
with read and write operations so the log dump is easier to look at
with the human eye.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
ltp/fsx.c