btrfs/112: add missing _require_xfs_io_command for falloc

I forgot to add the requirement for the xfs_io command "falloc", which
the test makes use of. Also fixed a weird indentation (mix of spaces
and tabs) for one line of a comment.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Filipe Manana
2015-11-02 10:56:08 +11:00
committed by Dave Chinner
parent 0e6ead5591
commit 64bd48f676
+2 -1
View File
@@ -49,6 +49,7 @@ _require_scratch
_require_cloner
_require_btrfs_fs_feature "no_holes"
_require_btrfs_mkfs_feature "no-holes"
_require_xfs_io_command "falloc"
rm -f $seqres.full
@@ -61,7 +62,7 @@ test_cloning_inline_extents()
_scratch_mount $mount_opts
# File bar, the source for all the following clone operations, consists
# of a # single inline extent (50 bytes).
# of a single inline extent (50 bytes).
$XFS_IO_PROG -f -c "pwrite -S 0xbb 0 50" $SCRATCH_MNT/bar \
| _filter_xfs_io