generic/340: Remove second fallocate test
authorJan Kara <jack@suse.cz>
Mon, 9 May 2016 00:53:18 +0000 (10:53 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 9 May 2016 00:53:18 +0000 (10:53 +1000)
commitea991497f15d34b8ca829d7a0a6b7cb3cc92d805
tree004f695ce13adfd29b08be9d116a2871957d417f
parentf614c277caba74799ec09437ce97e400f6deca16
generic/340: Remove second fallocate test

Currently holetest program uses both posix_fallocate(3) and fallocate(3)
to setup the file. However this unnecessarily prolongs the test run and
doesn't really bring any additional code coverage. So remove the
fallocate(3) pass as using posix_fallocate(3) allows us to make the test
easily runnable even for filesystems not supporting that (such as ext2).

Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
src/holetest.c
tests/generic/340
tests/generic/340.out