Skip to contentSkip to conversation

Xfstests: make _scratch_mkfs_sized work for btrfs

PATCH Applied Josef Bacik 2 participants 2 messages Nov 30, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Xfstests: make _scratch_mkfs_sized work for btrfs

This patch simply makes _scratch_mkfs_sized work right for btrfs. I've run a few of the tests that use _scratch_mkfs_sized (204 and 226) and everything seems to work right now. Thanks,

---
 common.rc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
common.rc +3 -0
index 459bdf5..58e7318 100644
@@ -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"
 	;;
Signature · 6 lines
1.6.6.1

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs