xfstests: add _scratch_mkfs_sized support for btrfs
authorJosef Bacik <josef@redhat.com>
Tue, 30 Nov 2010 22:22:36 +0000 (23:22 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 30 Nov 2010 22:22:36 +0000 (23:22 +0100)
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
common.rc

index a5db913ad020762ef3ff5e9c7593392b01bb5362..49d59aaa9135de559a75a4e202878641cca88402 100644 (file)
--- a/common.rc
+++ b/common.rc
@@ -329,6 +329,9 @@ _scratch_mkfs_sized()
     ext2|ext3|ext4)
        /sbin/mkfs.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks
        ;;
+     btrfs)
+       /sbin/mkfs.$FSTYP $MKFS_OPTIONS $SCRATCH_DEV -b $fssize
+       ;;
     *)
        _notrun "Filesystem $FSTYP not supported in _scratch_mkfs_sized"
        ;;