common: Use _require_xfs_io_command() instead of helpers
authorLukas Czerner <lczerner@redhat.com>
Mon, 28 Apr 2014 00:55:12 +0000 (10:55 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 28 Apr 2014 00:55:12 +0000 (10:55 +1000)
commitce0aa2bc5cdd8fcc3e56cd663796db731f8be893
tree9a9775eb28faadcd3e01f0da0494fbe1205f5f51
parenta841a6d0a88232861e7b8e9bc2dcc009afbf0476
common: Use _require_xfs_io_command() instead of helpers

Number of helpers for checking xfs_io functionality is slowly
growing.  But it's as easy to simply use _require_xfs_io_command()
directly and just specify the command we want to check. It will also
avoid the need to create helper every time we need to check a new
command in xfs_io.

Remove all the helpers and use _require_xfs_io_command() in the
tests.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
28 files changed:
common/defrag
common/rc
tests/btrfs/026
tests/btrfs/027
tests/btrfs/028
tests/btrfs/047
tests/ext4/001
tests/ext4/002
tests/generic/009
tests/generic/012
tests/generic/016
tests/generic/017
tests/generic/021
tests/generic/022
tests/generic/213
tests/generic/214
tests/generic/223
tests/generic/228
tests/generic/255
tests/generic/256
tests/generic/274
tests/generic/300
tests/generic/311
tests/generic/312
tests/generic/316
tests/shared/298
tests/xfs/252
tests/xfs/290