generic/017: Do not create file systems with different block sizes
authorLukas Czerner <lczerner@redhat.com>
Tue, 14 Oct 2014 06:40:32 +0000 (17:40 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 14 Oct 2014 06:40:32 +0000 (17:40 +1100)
commit448efe1309901f7e838f72ea3c28fc0598670a4c
treec58e178a53e4d1478720fafc3d6742fc9bbb76e3
parenta2a1fc679e6833901107785260757beabf8004c0
generic/017: Do not create file systems with different block sizes

User takes care about specifying mkfs options he wishes to test and the
test itself should not change it if it's not strictly necessary for the
test itself.

In this case it is not necessary and we should only test configuration
provided by the user. Moreover if the block size was already specified
some mkfs utilities does not handle multiple of the same parameters and
the mkfs utility fails making it re-try with only provided options
(ignoring what user specified), which is wrong.

In this case it's also a problem for btrfs file system which does not
support block size < page size.

Fix it by removing the mkfs, and testing existing configuration only.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/017
tests/generic/017.out