]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: fix seek_sanity_test for fs w/o fallocate
authorEric Sandeen <sandeen@redhat.com>
Mon, 3 Jun 2013 12:28:17 +0000 (07:28 -0500)
committerRich Johnston <rjohnston@sgi.com>
Mon, 3 Jun 2013 12:28:17 +0000 (07:28 -0500)
commit3e889c6735117e0906c339ffae0dbc17a4df27fb
tree6bf24d1cc6226324609a80d046bd0e948bdb527f
parent1515c26fd44ee2f84ce43ebcd9168130801dd9a0
xfstests: fix seek_sanity_test for fs w/o fallocate

currently the seek_sanity_test (generic/285) fails on ext3
or ext2 due to fallocate() failures.  Just ignore that test
if the fs doesn't support fallocate.

Note: this patch was originally submitted by Zheng Liu.
http://oss.sgi.com/archives/xfs/2013-05/msg00534.html

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Zheng Liu <gnehzuil.liu@gmail.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
src/seek_sanity_test.c